danielgtaylor / arista

Arista Transcoder
http://www.transcoder.org/
GNU Lesser General Public License v2.1
120 stars 19 forks source link

setup.py byte-compiling issues #73

Closed ford-prefect closed 13 years ago

ford-prefect commented 13 years ago

The new setup.py bits that byte-compile the installed py files should be optional (at least). In Gentoo, we handle these at the packaging level, so it's redundant.

More importantly, the byte-compile step is not prefix aware, so when installing into a prefix (setup.py --root, aiui), it still tries to byte-compile the system version.

danielgtaylor commented 13 years ago

Is this still true with the latest trunk? I recall there being a fix for that so that virtualenv could also be used...

ford-prefect commented 13 years ago

I found that I also needed something like this: http://people.collabora.co.uk/~arun/0001-Respect-system-byte-compiling-settings.patch

danielgtaylor commented 13 years ago

Patch applied in ae8fb6b. Thanks for the fix :-)