Just an exmaple library for distributing this library to pip.
-
create account at pypi and pypi test
-
create .pypirc file in your home directory
-
Make the right python package directory structure. source_dir/ # the source directory |-- my_python_package # your package | |-- init.py | `-- FILES .... # your package files |-- README.md |-- setup.cfg |-- setup.py
-
Release on GitHub
-
Publish package on pypi-test and pypi
python setup.py register -r pypitest python setup.py sdist upload -r pypitest
Check on Pypi Test
python setup.py register -r pypi python setup.py sdist upload -r pypi