View previous topic :: View next topic |
Author |
Message |
tatterdemalian n00b
Joined: 21 Jul 2011 Posts: 46
|
Posted: Mon Jun 18, 2018 2:29 am Post subject: How to re-enable byte-compiling in Python |
|
|
I have one package that, unfortunately, has apparently decided that its latest version will only generate a required library as a .pyc file. Even more unfortunately, the main user of the computer I'm running Gentoo on is equally dependent on this package continuing to function.
Is there any way to force portage to allow byte-compiling for this one package? I tried PYTHONDONTWRITEBYTECODE="0" and that didn't work, the package still crashed out after being unable to access the required library because it was forced to skip compiling both the 2.7 and 3.5 versions, because byte-compiling is apparently disabled by multiple failsafes. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Sat Jul 14, 2018 9:35 pm Post subject: |
|
|
What package is this? Did upstream explain why they chose to do this? Have you considered a local patch to revert their change, rather than trying to force generation of the bytecode? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|