Calmcode - setup: pypi


1 2 3 4 5 6 7 8 9

We could take the extra step to upload our code to the python package index as well. You'll need some extra tools locally to make this easy.

python -m pip install twine wheel

You should now be able to run these lines of code from the terminal.

python sdist
python bdist_wheel --universal
twine upload dist/*

You'll need to add a maintainer account on pypi in order for this to work. You'll get a prompt asking for your credentials before the upload is finalized. Once it is done, we can safely run:

python -m pip install clumper

Note that this is only the beginning. We've got the scaffolding set up but there's still tests, documentation and features to be added. Feel free to visit the github repository.