Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to re-enable byte-compiling in Python
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tatterdemalian
n00b
n00b


Joined: 21 Jul 2011
Posts: 46

PostPosted: Mon Jun 18, 2018 2:29 am    Post subject: How to re-enable byte-compiling in Python Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Sat Jul 14, 2018 9:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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