Packaging with python

write your

  • setup.cfg
  • setup.py
  • pyproject.toml

like in the nkululeko project
When you have a new version, you can test it with

pip install .

and, when happy,

python -m build 

will generate the dist folder

twine upload dist/* 

will upload to pypi server

If you want to develop your package, you can run

python setup.py develop

Leave a Reply

Your email address will not be published. Required fields are marked *