Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 669 Bytes

pypi.md

File metadata and controls

36 lines (28 loc) · 669 Bytes

Uploading to PYPI

Create $HOME/.pypirc with the following content:

[distutils]
index-servers=
    testpypi
    pypi

[testpypi]
repository = https://test.pypi.org/legacy/
username = <username>
password = <password>

[pypi]
repository = https://upload.pypi.org/legacy/
username = <username>
password = <password>

Run the following to install to test pypi:

> python setup.py sdist
> twine upload dist/* -r testpypi
> pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple bitcoin-etl 

Run the following to install to pypi:

> python setup.py sdist
> twine upload dist/* 
> pip install bitcoin-etl