Skip to content

Commit

Permalink
Update publishing steps to also generate a universal wheel
Browse files Browse the repository at this point in the history
Fixes #6.
  • Loading branch information
edmorley committed Aug 7, 2017
1 parent a2b7379 commit e8b7a57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,13 @@ To republish this library to pypi.python.org, update the version number in

.. code-block:: bash
pip install -U twine setuptools wheel
# delete stale versions
rm -rf dist
rm -rf dist/ build/
# build source package
python setup.py sdist
# build source package and wheel
python setup.py sdist bdist_wheel
# publish it
twine upload -s dist/*
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1

0 comments on commit e8b7a57

Please sign in to comment.