Am 28.07.2014 17:03, schrieb Michał Górny: > Hello, everyone. > > New install ----------- > > 1. no /usr/lib/portage/pym (it's not really necessary with > python_targets),
We need to make that emerge -C prevents the removal of the last python version for which portage is installed then. That may already work. > > 2. all python modules & bytecode in site-packages, > > 3. emerge and other tools load portage from site-packages [proper > bytecode used], Other tools already do that. Emerge is a different thing. It's not a tool based on portage. emerge and portage are two large, interconnected things. (run "git grep _emerge" in pym/portage) > > 4. but python modules need to be able to locate > /usr/lib/portage/bin somehow. > > What about hardcoding this path at install time? Looking at pkgcore might give you some hints.