If you are a contributor and want an editable install, rather than in site-packages
:
- Clone the tonydbc repo from GitHub
- Navigate to the tonydbc root directory
- Run
python -m pip install -e .
to install the repo as an editable install.
To publish a new version of tonydbc to PyPI:
- Get an API token at PyPI
- Save the token with filled-in
<password>
toC:\Users\<username>\.pyprc
:
[pypi]
username = __token__
password = <password>
- Navigate to the tonydbc root directory
- Run these commands:
# python -m pip install build twine bumpver
bumpver update --patch
python -m build
twine check dist/*
# twine upload -r testpypi dist/*
twine upload dist/*