Skip to content

Commit

Permalink
Add publish instructions & fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkd committed Oct 16, 2020
1 parent c6599ba commit f7907e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from distutils.core import setup
from setuptools import setup

with open("README.md", "r") as fh:
long_description = fh.read()
Expand Down

0 comments on commit f7907e5

Please sign in to comment.