Skip to content

Commit

Permalink
Merge 4b74c9f into 7fe70fd
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi Slater committed Mar 29, 2017
2 parents 7fe70fd + 4b74c9f commit a37cb3d
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions DEVELOP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ To create a new release, you must:
- Create a tag by running ``./devtools/create_tag.sh``

PyPI Deployment
---------------
===============

To create the packages use::

Expand All @@ -77,12 +77,29 @@ Then, use twine_ to upload the packages::

$ bin/twine upload dist/*

This last command builds the package and uploads it to PyPI_.

For that to work you will need a personal PyPI account that is set up as a project admin.

You'll also need to create a ``~/.pypirc`` file, like so::

[distutils]
index-servers =
pypi

[pypi]
repository=https://pypi.python.org/pypi
username=<USERNAME>
password=<PASSWORD>

Here, ``<USERNAME>`` and ``<PASSWORD>`` should be replaced with your username and password, respectively.

If you want to check the PyPI description before uploading, run::

$ bin/py setup.py check --strict --restructuredtext

Standalone Deployment
---------------------
=====================

The standalone executable is built and deployed by a Jenkins_ job.

Expand All @@ -102,9 +119,10 @@ The output can then be found in the ``out/html`` directory.
The docs are automatically built from Git by `Read the Docs`_ and there is
nothing special you need to do to get the live docs to update.

.. _Read the Docs: http://readthedocs.org
.. _buildout: https://pypi.python.org/pypi/zc.buildout
.. _Jenkins: http://jenkins-ci.org/
.. _PyPI: https://pypi.python.org/pypi
.. _Read the Docs: http://readthedocs.org
.. _ReStructuredText: http://docutils.sourceforge.net/rst.html
.. _Sphinx: http://sphinx-doc.org/
.. _tox: http://testrun.org/tox/latest/
Expand Down

0 comments on commit a37cb3d

Please sign in to comment.