I have a tutorial here,it rather big because it cover a lot of stuff.
The short version of steps:
A
The
Upload wheel file to PyPi
PyPi use name in setup.py eg
The short version of steps:
A
setup.py
together with your useful.py
module/package(make sure that import
are easy for 3-party users).The
setup.py
will generate a wheel
file in dist\ folder.Upload wheel file to PyPi
twine upload dist/*
.PyPi use name in setup.py eg
name="useful"
, then on PyPi it will be pip install useful
for 3-party users.