-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add publish instructions & fix import
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 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 |
---|---|---|
|
@@ -23,4 +23,12 @@ e.g. | |
|
||
``` | ||
demo.py [email protected] mypassword WX12345678901234 | ||
``` | ||
``` | ||
|
||
## Publishing new versions of this package | ||
|
||
1. Bump the version number inside `setup.py`. | ||
2. Build the package: `python setup.py sdist bdist_wheel`. | ||
3. Upload to TestPyPi using `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` and verify everything is as expected. | ||
4. Upload to PyPi using `twine upload dist/*`. | ||
5. All done! |
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