Surely this is enough of a gotcha (got bitten by it myself), that it
could be mentioned on the documentation page? (And likely to get more
frequent I imagine, as python 2.6 uptake increases which we might
expect in the short term).
Andy
On 18/11/2009, at 5:29 PM, Christian Heimes wrote:
Bill Janssen wrote:
/usr/bin/python: jcc is a package and cannot be directly executed
make: *** [compile] Error 1
% /usr/bin/python -m jcc
/usr/bin/python: jcc is a package and cannot be directly executed
%
What am I doing wrong?
Python 2.6 doesn't support packages as target of -m. JCC has already a
workaround that works on Python 2.5 and 2.6: "-m jcc.__main__".
Christian