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 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