Python extenstion pyo instead of pyc

July 15, 2002
7:46 a.m.
Hi, I have a problem installing modules using setup.py bdist_rpm due to the fact that I have PYTHONOPTIMIZE=2 defined in my profile. This causes the build to fail as rpm expects a .pyc file, not a pyo file. This can be easily solved in an automatic way, just create the expected extension based on the PYTHONOPTIMIZE variable, or unset this variable during the build. The distutils I use are revision v. 1.53 (taken from dist.py). Best regards, Leon Widdershoven
8261
Age (days ago)
8261
Last active (days ago)
0 comments
1 participants
participants (1)
-
Leon Widdershoven