[Distutils] bdist_rpm fails due to bytecompiled modules

Ronald Oussoren ronaldoussoren at mac.com
Wed Oct 25 21:01:03 CEST 2006


On Oct 25, 2006, at 8:05 PM, Christopher Blunck wrote:

>
>
> the trouble here with that %install section is that the python modules
> get bytecompiled and thus turned into native code.  i'd prefer for
> that not to happen, so i have written my own install.sh script and i
> provide that to my python setup.py call as follows:

.pyc and .pyo files aren't native code, they are bytecode files that  
work on all platforms. There should therefore be no need to surpress  
bytecode compilation.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20061025/b78aec5b/attachment.bin 


More information about the Distutils-SIG mailing list