noqqe » blog | sammelsurium | photos | projects | about

pip

2016-12-08 @ pip, Programming, Python

Register a user and create config

[distutils]
index-servers = pypi

[pypi]
repository: https://pypi.python.org/pypi
username: user
password: xxx

Register a new package

python setup.py register -r pypi

Upload a new version of a package

python setup.py sdist upload -r pypi