-
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.
Update README.md with better documentation
- Loading branch information
1 parent
83a3fce
commit 15e555e
Showing
3 changed files
with
50 additions
and
30 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 |
---|---|---|
@@ -1,28 +1,35 @@ | ||
|
||
## 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: | ||
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: | ||
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: | ||
4. Run to check whether the package will correctly render to PyPI: | ||
|
||
<!-- --> | ||
|
||
twine check dist/* | ||
|
||
5) Upload the newly created files to PyPI: | ||
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 | ||
|
||
## Install project locally | ||
|
||
python3 -m pip install . | ||
|
||
## Run all unit tests | ||
|
||
python3 -m unittest test |
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.