-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch introduces some Makefile targets and documentation to make the upload of packages to PyPI more consistent. Closes #194
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 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,20 @@ | ||
Upload to PyPI_ | ||
=============== | ||
|
||
The ``Makefile`` includes a ``pypi`` target which builds a clean PyCA package. | ||
|
||
So you can simply call | ||
|
||
.. code-block:: bash | ||
make pypi | ||
to build a clean package. | ||
|
||
The built package should be found under ``dist`` and can be uploaded to PyPI_, e.g. with Twine_. | ||
|
||
For a more detailed explanation about the whole process, take e.g. a look at `Packaging Python Projects`_ | ||
|
||
.. _PyPI: https://pypi.org | ||
.. _Twine: https://pypi.org/project/twine/ | ||
.. _Packaging Python Projects: https://packaging.python.org/tutorials/packaging-projects/ |
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