Skip to content
Paul Tremberth edited this page Oct 21, 2016 · 1 revision

Welcome to the cssselect wiki!

Releasing to PyPI

Example for 1.0.0

pip install twine
python setup.py sdist bdist_wheel

twine upload -r pypitest dist/cssselect-1.0.0.tar.gz 
twine upload -r pypitest dist/cssselect-1.0.0-py2.py3-none-any.whl 

twine upload -r pypi dist/cssselect-1.0.0-py2.py3-none-any.whl 
twine upload -r pypi dist/cssselect-1.0.0.tar.gz 
$ cat ~/.pypirc 
[distutils]
index-servers =
    pypi
    pypitest

[pypi]
repository: https://pypi.python.org/pypi
...

[pypitest]
repository: https://testpypi.python.org/pypi
...
Clone this wiki locally