Skip to content

Commit

Permalink
install now fails when being run with python 3.11
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Steinbach <[email protected]>
  • Loading branch information
psteinb committed Aug 31, 2023
1 parent d28ce96 commit 9abdd16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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; python_version < "3.11"",
"lie_learn",
"joblib",
"pymanopt",
"autograd",
Expand All @@ -17,7 +17,7 @@


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

with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
Expand All @@ -38,7 +38,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["test", "test.*"]),
python_requires=">=3.7",
python_requires=">=3.7, <3.11",
keywords=[
"pytorch",
"cnn",
Expand All @@ -50,9 +50,9 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"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 9abdd16

Please sign in to comment.