Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python_requires and install_requires to help pip #466

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Add python_requires and install_requires to help pip #466

merged 1 commit into from
Sep 7, 2022

Conversation

gopackgo90
Copy link
Contributor

Without python_requires, pip will let you install django-waffle 3.0 on python 3.6 and lower, which are now unsupported. And django-waffle should depend on django, because based on the name of the project, it does, so adding install_requires to reflect that.

setup.py Outdated
@@ -13,6 +13,8 @@
include_package_data=True,
package_data={'': ['README.rst']},
zip_safe=False,
python_requires='>=3.7',
install_requires=['django>=3.2']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comma

Without `python_requires`, pip will let you install django-waffle 3.0 on python 3.6 and lower, which are now unsupported. And django-waffle should depend on django, because based on the name of the project, it does, so adding `install_requires` to reflect that.
@clintonb clintonb merged commit d1b2a65 into jazzband:master Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants