Declare Django versions in install_requires (#7063)

* 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
This commit is contained in:
Adam Johnson 2019-12-12 13:03:34 +00:00 committed by Tom Christie
parent 236667b717
commit 7c5459626d

View File

@ -82,7 +82,7 @@ setup(
author_email='tom@tomchristie.com', # SEE NOTE BELOW (*) author_email='tom@tomchristie.com', # SEE NOTE BELOW (*)
packages=find_packages(exclude=['tests*']), packages=find_packages(exclude=['tests*']),
include_package_data=True, include_package_data=True,
install_requires=[], install_requires=["django>=1.11"],
python_requires=">=3.5", python_requires=">=3.5",
zip_safe=False, zip_safe=False,
classifiers=[ classifiers=[