Skip to content

Commit

Permalink
Declare Django versions in install_requires (encode#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 Pierre Chiquet committed Mar 24, 2020
1 parent 9fc8963 commit d17d388
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 d17d388

Please sign in to comment.