Skip to content

Commit f51723d

Browse files
committed
PYTHON-1541 - Use setuptools python_requires
To enforce minimum Python requirements.
1 parent cbc81ee commit f51723d

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
@@ -366,6 +366,7 @@ def build_extension(self, ext):
366366
keywords=["mongo", "mongodb", "pymongo", "gridfs", "bson"],
367367
install_requires=[],
368368
license="Apache License, Version 2.0",
369+
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
369370
classifiers=[
370371
"Development Status :: 5 - Production/Stable",
371372
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)