Changeset f20c7e4 in rattail-fabric


Ignore:
Timestamp:
02/07/19 12:39:37 (10 months ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
2393374
Parents:
0199902
Message:

Allow alternate python3 for backup app environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail_fabric/backup.py

    r0199902 rf20c7e4  
    4949
    5050def deploy_backup_app(deploy, envname, mkvirtualenv=True, user='rattail',
     51                      python_exe='/usr/bin/python3',
    5152                      config=None, everything=None, crontab=None, runat=UNSPECIFIED):
    5253    """
     
    6566    # virtualenv
    6667    if mkvirtualenv:
    67         python.mkvirtualenv(envname, python='/usr/bin/python3', upgrade_setuptools=False)
     68        python.mkvirtualenv(envname, python=python_exe, upgrade_setuptools=False)
    6869    envpath = '/srv/envs/{}'.format(envname)
    6970    sudo('chown -R {}: {}'.format(user, envpath))
Note: See TracChangeset for help on using the changeset viewer.