Skip to content

Commit

Permalink
Merge pull request #46 from Fishflavored/no-issue-update-readme
Browse files Browse the repository at this point in the history
no-issue: update readme and fix format
  • Loading branch information
Fishflavored authored Dec 3, 2018
2 parents 486bba6 + 9391e09 commit 2914d3d
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,31 @@ Create a ``.pypirc`` file with your production and test server accounts in your
testpypi

[testpypi]
repository = https://testpypi.python.org/pypi
repository = https://test.pypi.org/legacy/
username = <username>
password = <password>

[pypi]
repository = https://pypi.python.org/pypi
repository = https://upload.pypi.org/legacy/
username = <username>
password = <password>


Note that ``testpypi`` and ``pypi`` require separate registration.

Testing Publication
-----------------
-------------------

1. Ensure you have tagged the master repository according to the tagging
instructions above.

2. Register the package::
2. Package source and wheel distributions::

python setup.py register -r testpypi
python setup.py sdist bdist_wheel

3. Package source and wheel distributions::
3. Check format::

python setup.py sdist bdist_wheel
twine check dist/*

4. Upload to PyPI with twine::

Expand All @@ -118,16 +118,12 @@ Publishing
-----------

1. Ensure you have tagged the master repository according to the tagging
instructions above.
instructions above, testing publication before publication.

2. Register the package::

python setup.py register -r pypi

3. Package source and wheel distributions::
2. Package source and wheel distributions::

python setup.py sdist bdist_wheel

4. Upload to PyPI with twine::
3. Upload to PyPI with twine::

twine upload dist/* -r pypi

0 comments on commit 2914d3d

Please sign in to comment.