Nuwan Goonasekera 7 лет назад
Родитель
Сommit
a899685d0a
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      docs/topics/release_process.rst

+ 7 - 1
docs/topics/release_process.rst

@@ -14,11 +14,17 @@ Release Process
    changelog. List of commits can be obtained using
    ``git shortlog <last release hash>..HEAD``
 
-5. Release to PyPi
+5. Release to PyPi.
    (make sure you have run `pip install wheel`)
+   First, test release with PyPI staging server as described in:
+   https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
+
+   Once tested, run:
 
 .. code-block:: bash
 
+   # remove stale files or wheel might package them
+   rm -r build dist
    python setup.py sdist upload
    python setup.py bdist_wheel upload