From: Marcin Koziej Date: Wed, 11 Apr 2012 09:12:33 +0000 (+0200) Subject: old python needs __main__ to call a module X-Git-Url: https://git.mdrn.pl/pylucene.git/commitdiff_plain/fb16ac375de5479dec3919a5559cda02c899e387?ds=sidebyside;hp=43d14fabd4ba1393c2b43d7cce0326620fce858f old python needs __main__ to call a module --- diff --git a/Makefile b/Makefile index 9775ab5..2001975 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ LUCENE=$(LUCENE_SRC)/lucene PREFIX_PYTHON=$(VIRTUAL_ENV) ANT=ant PYTHON=$(PREFIX_PYTHON)/bin/python -JCC=$(PYTHON) -m jcc --shared +JCC=$(PYTHON) -m jcc.__main__ --shared NUM_FILES=3 # FreeBSD