Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 791 Bytes

DEV.md

File metadata and controls

41 lines (39 loc) · 791 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/*
  2. Update conda-forge '''

Compiling C-Extentsions

python setup.py build_ext --inplace