Skip to content

Commit

Permalink
Add requires-python metadata (#23)
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 Jun 20, 2024
1 parent c50ed7d commit 02187cf
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 @@ -24,6 +24,7 @@
author="Anders Huss",
author_email="[email protected]",
license="MIT",
python_requires=">=3.8",
install_requires=["attrs>=18.0.0", "pathspec>=0.10.1"],
packages=find_packages("src"),
package_dir={"": "src"},
Expand Down

0 comments on commit 02187cf

Please sign in to comment.