Browse Source

formatting of setup.cfg code snippet

see https://github.com/pallets/flask/issues/2400
pull/2401/head
Jeremy arr 8 years ago committed by GitHub
parent
commit
826bffae44
  1. 4
      docs/patterns/distribute.rst

4
docs/patterns/distribute.rst

@ -89,14 +89,14 @@ Tagging Builds
--------------
It is useful to distinguish between release and development builds. Add a
:file:`setup.cfg` file to configure these options.
:file:`setup.cfg` file to configure these options::
[egg_info]
tag_build = .dev
tag_date = 1
[aliases]
release = egg_info -RDb ''
release = egg_info -RDb
Running ``python setup.py sdist`` will create a development package
with ".dev" and the current date appended: ``flaskr-1.0.dev20160314.tar.gz``.

Loading…
Cancel
Save