[Python-Dev] problems building python2.7
hansmu at xs4all.nl
Fri Nov 9 12:09:26 CET 2012
On 9/11/12 11:57:39, Chris Withers wrote:
> On 09/11/2012 10:52, Michael Foord wrote:
>>> However, I can't find the python it's built...
>> It should be python.exe (yes really).
> Hah! Should http://docs.python.org/devguide/ be updated to reflect this
> or does this only affect Mac OS? (or should we correct the build so it
> doesn't spit out a .exe?)
It only affects MacOS. On other Unix system, the build process spits
out an executable named "python". On MacOS that's not possible,
because that name would clash with the subdirectory named "Python".
>> After the build you should be able to do:
> Unfortunately, still:
> buzzkill:cpython chris$ ./python.exe -m test -j3
> /Users/chris/LocalHG/cpython/python.exe: No module named test.__main__;
> 'test' is a package and cannot be directly executed
> [18856 refs]
How about "make test" ?
Hope this helps,
More information about the Python-Dev