Skip to content

Commit

Permalink
build: Add requires-python metadata
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
matthewfeickert committed Aug 4, 2023
1 parent bb2e957 commit cc1ab97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'Programming Language :: Python',
],

python_requires = '>=3.8',
install_requires=install_requires,
extras_require={
'full': extras_require,
Expand Down

0 comments on commit cc1ab97

Please sign in to comment.