Skip to content

Commit

Permalink
fix: correct requirements and python version support. dev requirement…
Browse files Browse the repository at this point in the history
… can be installed with: pip install ".[dev]"
  • Loading branch information
Tyskiep99 committed Feb 4, 2022
1 parent 8691e06 commit 5bd65e8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
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:
Expand Down
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
],
)

0 comments on commit 5bd65e8

Please sign in to comment.