There is a popular tool for Python to create virtual python environments, in which packages can be installed. To make it work, it provides a python wrapper, which shadows the one in /usr/bin. The problem with the scripts being generated by python_generate_wrapper_scripts() call /usr/bin/<active interpreter> directly. Line 64: python_interpreter_path = "/usr/bin/%s" % EPYTHON I have resolved my issues to make all those wrappers use my custom interpreter by removing '/usr/bin/' from that line. Reproducible: Always Steps to Reproduce: emerge pylint -av vim /usr/bin/pylint
No new features will be added to python.eclass. However, if there's something we can do about virtualenvs to help you, please file a bug against python-r1 and be more detailed about it.