mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
Merge pull request #567 from netchampfaris/fix-exec-py
fix path executable to python3
This commit is contained in:
commit
4d271e436e
@ -83,7 +83,7 @@ from bench.commands.install import install
|
||||
bench_command.add_command(install)
|
||||
|
||||
@click.command('migrate-env')
|
||||
@click.argument('python', type = click.Choice(['python2', 'python3']))
|
||||
@click.argument('python', type = str)
|
||||
@click.option('--no-backup', default = False, help = 'Do not backup the existing Virtual Environment')
|
||||
def migrate_env(python, no_backup = False):
|
||||
"""
|
||||
|
@ -2,7 +2,7 @@ import click
|
||||
|
||||
@click.command()
|
||||
@click.argument('path')
|
||||
@click.option('--python', type = click.Choice(['python2', 'python3']), default = 'python2', help = 'Path to Python Executable.')
|
||||
@click.option('--python', type = str, default = 'python2', help = 'Path to Python Executable.')
|
||||
@click.option('--ignore-exist', is_flag = True, default = False, help = "Ignore if Bench instance exists.")
|
||||
@click.option('--apps_path', default=None, help="path to json files with apps to install after init")
|
||||
@click.option('--frappe-path', default=None, help="path to frappe repo")
|
||||
|
Loading…
Reference in New Issue
Block a user