From 43077104e7b7c97a722b7bd6ad40fce5e07d7dd4 Mon Sep 17 00:00:00 2001 From: Peter Steinbach Date: Thu, 31 Aug 2023 15:51:40 +0200 Subject: [PATCH] propagating python major version limits to setup.py - 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 --- setup.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a658463a..f97a1282 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ "torch>=1.3", "numpy", "scipy", - "lie_learn", + "lie_learn; python_version < "3.11"", "joblib", "pymanopt", "autograd", @@ -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() @@ -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,