##// END OF EJS Templates
Explicitely install traitlets on travis
Explicitely install traitlets on travis

File last commit:

r21986:bcced3ca
r21988:9360f0d2
Show More
index.rst
76 lines | 1.9 KiB | text/x-rst | RstLexer

IPython developer's guide

This are two categories of developer focused documentation:

  1. Documentation for developers of IPython itself.
  2. Documentation for developers of third party tools and libraries that use IPython.

This part of our documentation only contains information in the second category.

Developers interested in working on IPython itself should consult our developer information on the IPython GitHub wiki.

Making an IPython release

Make sure the repository is clean of any file that could be problematic. You can remove all non-tracked files with:

$ git clean -xfdi

This would ask you for confirmation before removing all untracked files. Make sure the dist/ folder is clean and avoid stale build from previous attempts.

  1. Update version number in IPython/core/release.py.

Make sure the version number match pep440, in particular, rc and beta are not separated by . or the sdist and bdist will appear as different releases.

  1. Commit and tag the release with the current version number:
git commit -am "release $VERSION"
git tag $VERSION
  1. You are now ready to build the sdist and wheel:
$ python setup.py sdist --formats=zip,gztar
$ python setup.py bdist_wheel

4. You can now test the wheel and the sdist locally before uploading to PyPI. Make sure to use twine to upload the archives over SSL.

$ twine upload dist/*
  1. If all went well, change the IPython/core/release.py back adding the .dev suffix.
  2. Push directly on master, not forgetting to push --tags.