Skip to content

Commit

Permalink
propagating python major version limits to setup.py
Browse files Browse the repository at this point in the history
- added classifiers (not sure what they invoke on PyPI etc)
- added python version limiter for lie_learn (needs to be tested)

Signed-off-by: Peter Steinbach <[email protected]>
  • Loading branch information
psteinb committed Aug 31, 2023
1 parent 458fb8a commit 4307710
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"torch>=1.3",
"numpy",
"scipy",
"lie_learn",
"lie_learn; python_version < "3.11"",
"joblib",
"pymanopt",
"autograd",
Expand All @@ -17,7 +17,7 @@


setup_requires = [""]
tests_require = ["scikit-learn", "scikit-image"]
tests_require = ["scikit-learn", "scikit-image", "matplotlib" ]

with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
Expand Down Expand Up @@ -45,6 +45,14 @@
"convolutional-networks" "equivariant",
"isometries",
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
Expand Down

0 comments on commit 4307710

Please sign in to comment.