From e03aeb0ca29ac6f90c2154cbde4a5b2d3f35e5c8 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 21 Nov 2019 14:38:31 +0000 Subject: [PATCH] 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. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c9d6443d5..ab67bab4d 100755 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ setup( author_email='tom@tomchristie.com', # SEE NOTE BELOW (*) packages=find_packages(exclude=['tests*']), include_package_data=True, - install_requires=[], + install_requires=["django>=1.11,<3.1"], python_requires=">=3.5", zip_safe=False, classifiers=[