-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added instructions on how to upload to PyPi
* Added a docs/upload-to-pypi.md file * Added the setup.cfg file * Updated setup.py: Added version, license and url meta information
- Loading branch information
1 parent
fb85dd6
commit 4392aff
Showing
3 changed files
with
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Table of contents | ||
|
||
* [Table of contents](#table-of-contents) | ||
* [Pre-req](#pre-req) | ||
* [Upload process](#upload-process) | ||
|
||
## Pre-req | ||
|
||
* Register an account with (pypy.org)[https://pypi.org] | ||
* Install twine with `pip install twine` | ||
|
||
## Upload process | ||
|
||
* Build your release candidate with: | ||
|
||
```bash | ||
python setup.py sdist | ||
``` | ||
|
||
* Upload the package with | ||
|
||
```bash | ||
twine upload dist/* | ||
``` |
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,4 @@ | ||
# Inside of setup.cfg | ||
[metadata] | ||
description-file = README.md | ||
|
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