Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from jyooru/versions
Browse files Browse the repository at this point in the history
support more python versions
  • Loading branch information
jyooru authored Jul 7, 2021
2 parents 0c5ddae + 40019cf commit d9e07b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ jobs:
# exit-zero treats all errors as warnings. the github editor is 127 chars wide
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.9", "3.8", "3.7", "3.6"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v2
with:
Expand All @@ -55,7 +59,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="pearson-pdf",
version="1.0.4",
version="1.0.5",
author="jyooru",
license="MIT",
description="Tool to download Pearson books as PDFs.",
Expand All @@ -29,6 +29,6 @@
keywords="pearson, ebook, pearson-ebook, pdf, pearson-pdf",
packages=setuptools.find_packages(exclude=["tests"]),
install_requires=["requests", "pillow"],
python_requires=">=3.9", # TODO: support more versions
python_requires=">=3.6",
entry_points={"console_scripts": ["pearson_pdf=pearson_pdf.__main__:main"]},
)

0 comments on commit d9e07b3

Please sign in to comment.