/
RELEASE-HOWTO
68 lines (48 loc) · 2.39 KB
/
RELEASE-HOWTO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Building an NLTK distribution
----------------------------------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@ BUILD
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
A. MISC PREPARATION
1. Check for new versions of Python, Numpy, Matplotlib, and update wiki download instructions
2. Update the data index (make data_index) and commit
3. Update the ChangeLog ("svn log; then summarize the key changes")
4. Update the news page in nltk/web/news.rst
B. NLTK VERSION
1. Modify nltk/VERSION with the version number and commit
C. ERROR CHECKING
1. install the new version, since its the installed code that is checked
2. cd nltk/test; make (run the tests in nltk.test)
3. make demotest (run the demonstration code included in many modules)
4. API docs (cd web; make; cd ../../nltk.github.com; ...)
5. Make dist
?. (cd ../nltk_contrib; make dist???)
D. UPLOAD
1. sudo python setup.py register
2. Log in to http://pypi.python.org/pypi and upload distributions
3. post announcement to NLTK the mailing lists:
nltk-dev (for beta releases)
nltk (for final releases)
4. post announcement to external mailing lists, for major N.N releases only
CORPORA@uib.no, linguist@linguistlist.org,
PythonSIL@lists.sil.org, edu-sig@python.org
mailing lists for any local courses using NLTK
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@ BOOK BUILD
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
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 setup.py install; make clean
2. make doc (slow; see doc/ for the results) and commit
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@ INSTALL
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
D. INSTALLATION
1. download and install new version on all machines
2. contact relevant sysads to install new version
3. copy dist directory to memory stick
E. NEW VERSION NUMBER (optional)
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)