View Single Post
Old 01-31-2016, 09:02 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I certainly see "--prefix" listed by pip3 install --help

Anywho, as per the SO link, surely this shouldn't care about hardcoded locations in the executable entry points?:

Code:
import pip

pip.main(['install', mymodule, 'further', 'optional', 'parameters'])

This should theoretically make it easy for plugin authors to install modules as needed, if they aren't available.
eschwartz is offline   Reply With Quote