Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (57 sloc) 2.69 KB
Building an NLTK distribution
1. Create a release branch from the develop branch
git checkout -b release-3.X.Y develop
2. Modify nltk/VERSION with the version number
3. Update the ChangeLog (for nltk, nltk_data)
git log --since=20XX-YY-ZZ
4. Update the data index (make data_index) and commit
5. Continue with testing and bugfixing
- install the new version locally, since its the installed code that is checked
- cd nltk/test; make (run the tests in nltk.test; or see Jenkins)
- make demotest (run the demonstration code including some graphical demos)
6. Check that installation instructions are up-to-date
7. Update the news page in nltk/web/news.rst
8. Merge with master branch
- git checkout master
- git merge --no-ff release-3.X.Y
- git tag -a 3.X.Y -m "version 3.X.Y"
- git push --tags
1. Make dist
2. Put up the release on github
3. sudo python register
4. Log in to and upload distributions
5. rebuild the website with updated news page
6. post announcement to NLTK the mailing lists:
nltk-dev (for beta releases)
nltk (for final releases)
7. post announcement to external mailing lists, for major N.N releases only,,,
mailing lists for any local courses using NLTK
The build requires docutils, pdflatex, python imaging library, epydoc,
cdrtools, ImageMagick
1. Check out a clean copy of the subversion repository (or make clean)
and install locally with sudo python install; make clean
2. make doc (slow; see doc/ for the results) and commit
1. download and install new version on all machines
2. contact relevant sysads to install new version
3. copy dist directory to memory stick
1. update the version numbers in the repository so that builds
off the repository don't have the same version as the release,
e.g. after release 0.9.6, update repository version to 0.9.7a (alpha)