Lance Edgar
36493885e7
Let caller avoid "eager" strategy when installing pip
...
actually this pertains to the install of its dependencies
2018-11-18 13:34:52 -06:00
Lance Edgar
13712e987d
Let mkvirtualenv()
and pip()
accept a "runas" user arg
...
until now we have been running those commands as root, which is probably a big
no-no. this change allows for us to run as an arbitrary user (e.g. rattail)
2018-10-03 16:57:27 -05:00
Lance Edgar
a5b364a239
Allow use of pip and mkvirtualenv for non-root users
...
i.e. don't always use sudo, per caller preference
2018-09-06 11:41:35 -05:00
Lance Edgar
167140dce1
Don't necessarily upgrade 'six' when making virtualenv
2018-08-16 10:10:34 -05:00
Lance Edgar
422abe25e1
Fix bug in pip()
2018-07-06 23:12:54 -05:00
Lance Edgar
e542f45638
Do *not* pass --upgrade
flag by default, for pip install
...
must now specify pip('pkg', upgrade=True) if you want an upgrade
2018-07-06 17:41:33 -05:00
Lance Edgar
fa2f7dfcbd
Fix bug with pip() installer when upgrade_strategy = None
2018-07-05 15:34:43 -05:00
Lance Edgar
86429d4f06
Accept --upgrade-strategy
arg for pip()
and mkvirtualenv()
2018-07-05 02:26:10 -05:00
Lance Edgar
bf4ac2f676
Let caller specify pip version when invoking python.mkvirtualenv()
2018-05-31 21:54:30 -05:00
Lance Edgar
40dbb595e9
Initial commit
...
mostly as-is, taken from `rattail.fablib` subpackage
2018-02-24 16:29:20 -06:00