Skip to content

Commit

Permalink
got rid of any references to javasrc as it was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Xu committed Mar 14, 2014
1 parent 715c771 commit cc9c1dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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 *~
13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
########################################################################
Expand All @@ -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'`
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?
)

0 comments on commit cc9c1dd

Please sign in to comment.