11Building an NLTK distribution
22----------------------------------
33
4+ 0. Packages required to build, test, and distribute NLTK
5+ - py312-pytest py312-requests py312-sphinx
6+ - py312-numpy py312-matplotlib py312-tkinter
7+ - sqlite3-tcl
8+ - pip install sphinxcontrib-apidoc twython build twine pytest-mock
9+
4101. Testing
511 - Check no errors are reported in our continuous integration service:
612 https://github.com/nltk/nltk/actions
@@ -23,7 +29,7 @@ Building an NLTK distribution
2329
24303. Build Documentation
2531 - Check the copyright year is correct and update if necessary
26- e.g. ./tools/global_replace.py 2001-2022 2001-2023
32+ e.g. ./tools/global_replace.py 2001-2022 2001-2024
2733 check web/conf.py copyright line
2834 - Check that installation instructions are up-to-date
2935 (including the range of Python versions that are supported)
@@ -44,7 +50,7 @@ Building an NLTK distribution
4450 cd ../nltk
4551 git tag -a 3.X.Y -m "version 3.X.Y"
4652 git push --tags
47- verify that it shows up here: https://github.com/nltk/nltk/releases
53+ verify that it shows up here: https://github.com/nltk/nltk/tags
4854 This is important for the website, as the footer will link to the
4955 tag with the version from web/conf.py.
5056
@@ -75,5 +81,5 @@ The build requires docutils, pdflatex, python imaging library, epydoc,
7581 cdrtools, ImageMagick
7682
7783 1. Check out a clean copy of the subversion repository (or make clean)
78- and install locally with sudo python setup.py install; make clean
84+ and install locally with pip install; make clean
7985 2. make doc (slow; see doc/ for the results) and commit
0 commit comments