Please submit a pull-request if you make some changes that you feel would be helpful to others.
But please keep in mind:
- breaking changes are a problem, for usual reasons
- not everyone has the same needs as you
- there can be security implications for any change
To build to release for Pypi:
python3 setup.py sdist bdist_wheel- creates files in
./dist - then
twine upload --repository-url https://test.pypi.org/legacy/ dist/*to test - visit: https://test.pypi.org/project/ckcc-protocol/ to preview
- make a fresh virtual env, activate it.
- get latest test version:
python3 -m pip install --index-url https://test.pypi.org/simple/ ckcc-protocol --no-cache-dir- but since most dependances aren't on testpypi repo, install those after each error
- you may need to force the version number to get the updated file
- test
ckcc listworks - test
python -m ckccworks - final upload:
twine upload dist/*
- update
ckcc/__init__.pywith new__version__string python3 setup.py sdist bdist_wheel- maybe delete old version from
./dist - tag source code with new version (at this point)
twine upload dist/*1.x.y*when ready, use__token__as username, and API token as password