Skip to content

Commit

Permalink
Declare Django versions in install_requires (#7063)
Browse files Browse the repository at this point in the history
* Declare Django versions in install_requires

Pip's dependency resolver (used in pipenv, pip-compile, poetry, etc.) can use this to infer whether there's a verison collision in what it's being asked to install or not.

* No max
  • Loading branch information
adamchainz authored and tomchristie committed Dec 12, 2019
1 parent 236667b commit 7c54596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_version(package):
author_email='[email protected]', # SEE NOTE BELOW (*)
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=[],
install_requires=["django>=1.11"],
python_requires=">=3.5",
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 7c54596

Please sign in to comment.