To develop and test, see the "Developer Installation" in the README.
Notes:
-
setup.py
usessetuptools-markdown
which requires having installed:brew install pandoc pip3 install setuptools-markdown
-
Make sure your
~/.pypirc
points to correct credentials. E.g.index-servers = pypitodbotdotcom [pypitodbotdotcom] username=todbotdotcom password=....
To publish:
- Edit
setup.py
to bump version - Update README.md (use
pydoc blink1.blink1.Blink1 > api.txt
to generate new API ref) - Check changes into git
- Publish to PyPI with:
python3 setup.py sdist upload -r pypitodbotdotcom
- Verify new version on PyPi: https://pypi.org/project/blink1/