Skip to content

Commit 26be94e

Browse files
Add requires-python metadata (#28)
* Add requires-python metadata through the addition of setuptools's python_requires in setup.py. - c.f. https://peps.python.org/pep-0621/#requires-python * The addition of requires-python is to provide guards to keep older CPython versions from installing releases that could contain unrunnable code.
1 parent 4842a71 commit 26be94e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
author="Anders Huss",
2525
author_email="andhus@kth.se",
2626
license="MIT",
27+
python_requires=">=3.8",
2728
install_requires=["scantree"],
2829
packages=find_packages("src"),
2930
package_dir={"": "src"},

0 commit comments

Comments
 (0)