diff --git a/MANIFEST.in b/MANIFEST.in index b1fd6cea80..7925410b7d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,6 @@ include LICENSE.txt INSTALL.txt README.txt MANIFEST.in include setup.py -include nltk/nltk.jar include nltk/test/*.doctest include nltk/VERSION -recursive-include javasrc *.java *.txt Makefile +recursive-include *.txt Makefile global-exclude *~ diff --git a/Makefile b/Makefile index 49a7a2c27c..51a712a6a5 100644 --- a/Makefile +++ b/Makefile @@ -35,17 +35,6 @@ demotest: -and -not -name brown_ic.py \ -exec echo ==== '{}' ==== \; -exec python '{}' \; -######################################################################## -# JAVA -######################################################################## - -jar: nltk/nltk.jar - -JAVA_SRC = $(shell find javasrc/org/nltk -name '*.java') -nltk/nltk.jar: $(JAVA_SRC) - $(MAKE) -C javasrc jar - cp javasrc/nltk.jar nltk/nltk.jar - ######################################################################## # DISTRIBUTIONS ######################################################################## @@ -65,8 +54,6 @@ windist: clean_code clean: clean_code rm -rf build iso dist api MANIFEST nltk-$(VERSION) nltk.egg-info - $(MAKE) -C javasrc clean -# rm -f nltk/nltk.jar clean_code: rm -f `find nltk -name '*.pyc'` diff --git a/setup.py b/setup.py index ac5dc56924..5905ac690d 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ 'Topic :: Text Processing :: Indexing', 'Topic :: Text Processing :: Linguistic', ], - package_data = {'nltk': ['nltk.jar', 'test/*.doctest', 'VERSION']}, + package_data = {'nltk': ['test/*.doctest', 'VERSION']}, packages = find_packages(), zip_safe=False, # since normal files will be present too? )