Added python_requires/install_requires to setup.cfg example in reusable apps docs.

This commit is contained in:
Thomas Güttler 2020-12-13 21:35:21 +01:00 committed by Mariusz Felisiak
parent 550297d20d
commit e251dd8230
1 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,9 @@ this. For a small app like polls, this process isn't too difficult.
[options]
include_package_data = true
packages = find:
python_requires = >=3.6
install_requires =
Django >= X.Y # Replace "X.Y" as appropriate
.. code-block:: python
:caption: django-polls/setup.py