Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465368 - app-admin/eselect-python: allow different system and user preference
Summary: app-admin/eselect-python: allow different system and user preference
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2013-04-10 08:01 UTC by Erik Quaeghebeur
Modified: 2015-04-09 15:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2013-04-10 08:01:05 UTC
A specific user needs python3 for his development. I wish to keep python2 as the system default. eselect python only allows a global setting, it seems. So my feature request: enable setting separate system and user default python versions.

Background: the user uses sphinx for documentation creation of his project. Sphinx does not seem to allow one to set the python version in its makefile. It calls sphinx-build, which on Gentoo selects the python version to use through puthon-exec-c. I don't see how I should get it to use python3 when python2 is the global default.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-10 16:57:17 UTC
I don't see much of a possibility for that either. We could theoretically make eselect-python introduce some user-specific config files and user checking but I don't know if it's worth the effort.

The easy way is to 'export EPYTHON=python3.2' in ~/.bash_profile.
Comment 2 Erik Quaeghebeur 2014-02-19 09:59:33 UTC
Perhaps mark this as WONTFIX: using python3 as system default now works quite well, and the issue has become moot for me.