From ab1d387815d19bf136460c15e22678db6ed6850f Mon Sep 17 00:00:00 2001 From: Peter Steinbach Date: Thu, 31 Aug 2023 17:07:30 +0200 Subject: [PATCH] install now fails when being run with python 3.11 Signed-off-by: Peter Steinbach --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index f97a1282..789336b7 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ "torch>=1.3", "numpy", "scipy", - "lie_learn; python_version < "3.11"", + "lie_learn", "joblib", "pymanopt", "autograd", @@ -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() @@ -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", @@ -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,