View previous topic :: View next topic |
Author |
Message |
Herring42 Guru
Joined: 10 Mar 2004 Posts: 373 Location: Buckinghamshire
|
Posted: Thu Oct 10, 2013 7:50 am Post subject: Completely confused by PYTHON_TARGETS, PYTHON_SINGLE_TARGET. |
|
|
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 |
|
|
mgorny Developer
Joined: 27 Apr 2007 Posts: 83
|
Posted: Thu Oct 10, 2013 8:34 pm Post subject: |
|
|
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 |
|
|
Herring42 Guru
Joined: 10 Mar 2004 Posts: 373 Location: Buckinghamshire
|
Posted: Fri Oct 11, 2013 7:16 am Post subject: |
|
|
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 |
|
|
|