Python extenstion pyo instead of pyc
15 Jul
2002
15 Jul
'02
2: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
7971
Age (days ago)
7971
Last active (days ago)
0 comments
1 participants
participants (1)
-
Leon Widdershoven