-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
98 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
================= | ||
Install package | ||
================= | ||
|
||
Install in develop mode to notice changes immediately. | ||
|
||
.. code:: | ||
python setup.py develop | ||
================== | ||
Doing a Release | ||
================== | ||
|
||
Updating CHANGELOG | ||
------------------ | ||
|
||
Install and run towncrier in the project directory. | ||
|
||
.. code:: | ||
towncrier | ||
If towncrier doesn't delete item in the *changelog* folder remove them by hand. | ||
|
||
|
||
Publish to PyPi | ||
--------------- | ||
|
||
This is from the python tutorial_. | ||
|
||
We can generate a source distribution package | ||
|
||
.. code:: | ||
python setup.py sdist | ||
We will also build wheels. Since we are pure python a universal wheel is possible | ||
|
||
.. code:: | ||
pip install --upgrade wheel | ||
python setup.py bdist_wheel --universal | ||
upload with twine | ||
|
||
|
||
.. code:: | ||
twine upload dist/* | ||
.. _tutorial: https://packaging.python.org/tutorials/distributing-packages/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
README.rst | ||
LICENSE | ||
runtimes.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters