fix: correct requirements and python version support. dev requirement can be installed with: pip install ".[dev]"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b22baa8..4fb59e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml
@@ -11,7 +11,7 @@ strategy: fail-fast: false matrix: - python-version: [ 3.6, 3.7, 3.8, 3.9 ] + python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ] os: [ ubuntu-latest, macOS-latest, windows-latest] steps:
diff --git a/setup.py b/setup.py index 1b317b8..fb6171a 100644 --- a/setup.py +++ b/setup.py
@@ -4,7 +4,6 @@ with open("README.md", "r") as readme_file: readme = readme_file.read() -requirements = ["casbin==0.8.4", "psycopg2-binary==2.8.6", "black==20.8b1"] setup( name="casbin-postgresql-watcher", @@ -15,9 +14,18 @@ long_description_content_type="text/markdown", url="https://github.com/pycasbin/postgresql-watcher", packages=find_packages(), - install_requires=requirements, + install_requires=open('requirements.txt').read().splitlines(), + extras_require={ + 'dev': [ + open('dev_requirements.txt').read().splitlines(), + ] + }, classifiers=[ + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: Apache Software License", ], )