Tweak default luigi config; allow specifying version
to accommodate one particular install, but is generally okay i think..
This commit is contained in:
parent
5df704679f
commit
5a4e2701df
2 changed files with 15 additions and 15 deletions
|
@ -32,7 +32,7 @@ from rattail_fabric2 import make_deploy, mkdir
|
|||
deploy_common = make_deploy(__file__)
|
||||
|
||||
|
||||
def install_luigi(c, envroot, user='rattail', db_connection=None):
|
||||
def install_luigi(c, envroot, luigi='luigi', user='rattail', db_connection=None):
|
||||
"""
|
||||
Install and configure Luigi to the given virtualenv.
|
||||
"""
|
||||
|
@ -41,7 +41,7 @@ def install_luigi(c, envroot, user='rattail', db_connection=None):
|
|||
appdir = '{}/app'.format(envroot)
|
||||
|
||||
# package
|
||||
c.sudo("bash -lc 'workon {} && pip install luigi'".format(envname),
|
||||
c.sudo("""bash -lc "workon {} && pip install '{}'" """.format(envname, luigi),
|
||||
user=user)
|
||||
|
||||
# dirs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue