Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Completely confused by PYTHON_TARGETS, PYTHON_SINGLE_TARGET.
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
Herring42
Guru
Guru


Joined: 10 Mar 2004
Posts: 373
Location: Buckinghamshire

PostPosted: Thu Oct 10, 2013 7:50 am    Post subject: Completely confused by PYTHON_TARGETS, PYTHON_SINGLE_TARGET. Reply with quote

Hi,

I'm completely confused by PYTHON_TARGETS, PYTHON_SINGLE_TARGET. What should I set in my make.conf?
I've got python 2.7 3.2 and 3.3 installed (somehow) and the following in my make.conf:

PYTHON_TARGETS="python2_7 python3_2 python3_3"
PYTHON_SINGLE_TARGET="python2_7 python3_2 python3_3"
USE_PYTHON="2.7 3.2 3.3"

Do I need all of this? What should I be using?
_________________
"The problem with quotes on the internet is that it is difficult
to determine whether or not they are genuine." -- Abraham Lincoln
Back to top
View user's profile Send private message
mgorny
Developer
Developer


Joined: 27 Apr 2007
Posts: 83

PostPosted: Thu Oct 10, 2013 8:34 pm    Post subject: Reply with quote

The most appropriate doc right now is the User's Guide, though I'm going to write a better one on the Wiki sometime soon.

Long story short, if you really want to play with it, currently you need to set PYTHON_TARGETS and USE_PYTHON to matching versions. Then, PYTHON_SINGLE_TARGET to one of the versions in PYTHON_TARGETS.

USE_PYTHON is used for old Python packages. PYTHON_TARGETS are used by new packages when the package can be made to work with more than one installed Python version. PYTHON_SINGLE_TARGET is used when the package can only work with one Python implementation of choice.
Back to top
View user's profile Send private message
Herring42
Guru
Guru


Joined: 10 Mar 2004
Posts: 373
Location: Buckinghamshire

PostPosted: Fri Oct 11, 2013 7:16 am    Post subject: Reply with quote

Thanks for the link.

Since I don't want to play with it at all, can I just remove all those?
I assume sensible defaults will apply...
_________________
"The problem with quotes on the internet is that it is difficult
to determine whether or not they are genuine." -- Abraham Lincoln
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