Skip to content

Commit 577d2f9

Browse files
committed
Update build instructions
1 parent 0753ee5 commit 577d2f9

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,8 @@ demotest:
3636
# DISTRIBUTIONS
3737
########################################################################
3838

39-
dist: zipdist
40-
41-
# twine only permits one source distribution
42-
#gztardist: clean_code
43-
# $(PYTHON) setup.py -q sdist --format=gztar
44-
zipdist: clean_code
45-
$(PYTHON) setup.py -q sdist --format=zip bdist_wheel
46-
windist: clean_code
47-
$(PYTHON) setup.py -q bdist --format=wininst --plat-name=win32
39+
dist: clean_code
40+
$(PYTHON) -m build
4841

4942
########################################################################
5043
# CLEAN

RELEASE-HOWTO.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Building an NLTK distribution
55
- py312-pytest py312-requests py312-sphinx
66
- py312-numpy py312-matplotlib py312-tkinter
77
- sqlite3-tcl
8-
- pip install sphinxcontrib-apidoc twython
8+
- pip install sphinxcontrib-apidoc twython build twine
99

1010
1. Testing
1111
- Check no errors are reported in our continuous integration service:
@@ -81,5 +81,5 @@ The build requires docutils, pdflatex, python imaging library, epydoc,
8181
cdrtools, ImageMagick
8282

8383
1. Check out a clean copy of the subversion repository (or make clean)
84-
and install locally with sudo python setup.py install; make clean
84+
and install locally with pip install; make clean
8585
2. make doc (slow; see doc/ for the results) and commit

0 commit comments

Comments
 (0)