Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 878 Bytes

DEV.md

File metadata and controls

42 lines (40 loc) · 878 Bytes

Distributing a Release

  1. Run unit-tests
$ pytest --verbose
  1. Bump version in pyPRISM/version.py (see semver.org)
  2. Update, compile, and check docs locally
$ cd docs
$ make clean html
  1. Update CHANGES.md (git log)
  2. Commit all updates to dev and push
$ git add -u
$ git commit
$ git push nistgit dev
  1. Checkout master, merge dev, and push
$ git checkout master
$ git merge dev
$ git tag -a vX.X.X
$ git push nistgit master
$ git push nistgit master --tags
  1. Create distributions
$ python setup.py build_ext
$ python setup.py sdist
  1. Upload to pypi
$ twine upload --skip--existing dist/*
  1. Update conda-forge link

Compiling C-Extentsions

python setup.py build_ext --inplace