Skip to content

Developers notes

Andrew Brooks edited this page Sep 23, 2017 · 3 revisions

Testing on PyPI:

  1. Upload

    python setup.py sdist upload -r pypitest
    
  2. Test Install. To grab the extras needed for viz and running tests, I used:

    pip install --extra-index-url https://testpypi.python.org/pypi postman_problems[viz,test]
    

NOTE: to avoid a Upload failed (400): File already exists. error, the release tag in setup.py must be changed on each run to a unique version. Overwrites or removals of existing release tags appear to not be possible.

Uploading to PyPI

.pypirc is configured in $HOME to point to proper URL

python setup.py sdist upload -r pypi

Downloading from PyPI

Simple (base) install

pip install postman_problems

Full install w viz and test dependencies

pip install postman_problems[viz,test]
Clone this wiki locally