-
Notifications
You must be signed in to change notification settings - Fork 14
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
1 parent
4145e9e
commit 7790035
Showing
2 changed files
with
29 additions
and
1 deletion.
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,28 @@ | ||
|
||
## Instructions for how to update the version of the sootty package of PyPI: | ||
|
||
1) Update the version number in `setup.py`. | ||
2) Run this command to package the new version into the `dist` directory: | ||
|
||
<!-- --> | ||
|
||
python3 setup.py sdist bdist_wheel | ||
|
||
|
||
3) Run to check that the package contains the correct files: | ||
|
||
<!-- --> | ||
|
||
tar tzf dist/sootty-<version>.tar.gz | ||
|
||
4) Run to check whether the package will correctly render to PyPI: | ||
|
||
<!-- --> | ||
|
||
twine check dist/* | ||
|
||
5) Upload the newly created files to PyPI: | ||
|
||
<!-- well hey there sailor! don't delete these comments because they actually affect the markdown rendering :-) --> | ||
|
||
twine upload dist/sootty-<version>.tar.gz dist/sootty-<version>-py3-none-any.whl |
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