Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.25 KB

pypi_upload.md

File metadata and controls

34 lines (25 loc) · 1.25 KB

=============================== Updating iiif-validator on pypi

iiif-validator is at https://pypi.org/project/iiif-validator/

Putting up a new version

  1. Bump version number working branch in iiif_validator/_version.py and check CHANGES.md is up to date
  2. Check all tests good (python setup.py test; py.test)
  3. Check code is up-to-date with github version
  4. Check out master and merge in working branch
  5. Check all tests good (python setup.py test; py.test)
  6. Check branches are as expected (git branch -a)
  7. Check local build and version reported OK (python setup.py build; python setup.py install)
  8. Check iiif-validator.py correctly starts server and runs tests
  9. If all checks out OK, tag and push the new version to github with something like:
```
git tag -n1
#...current tags
git tag -a -m "IIIF Image API Validator v1.1.1" v1.1.1
git push --tags

python setup.py sdist upload
```

FIXME - should change to use twine for upload per https://pypi.org/project/twine/

  1. Then check on PyPI at https://pypi.org/project/iiif-validator/
  2. Finally, back on working branch start new version number by editing iiif_validator/_version.py and CHANGES.md