[pm] Moving project artifact management to next edgy.project version.
This commit is contained in:
@ -9,7 +9,9 @@ def execute(name):
|
||||
'You must install "cookiecutter" to use this command.\n\n $ pip install edgy.project\n'
|
||||
) from exc
|
||||
|
||||
return cookiecutter('https://github.com/python-bonobo/cookiecutter-bonobo.git', extra_context={'name': name}, no_input=True)
|
||||
return cookiecutter(
|
||||
'https://github.com/python-bonobo/cookiecutter-bonobo.git', extra_context={'name': name}, no_input=True
|
||||
)
|
||||
|
||||
|
||||
def register(parser):
|
||||
|
||||
@ -4,9 +4,7 @@ from bonobo.util.pkgs import bonobo_packages
|
||||
|
||||
def format_version(mod, *, name=None, quiet=False):
|
||||
return ('{name} {version}' if quiet else '{name} v.{version} (in {location})').format(
|
||||
name=name or mod.__name__,
|
||||
version=mod.__version__,
|
||||
location=bonobo_packages[name or mod.__name__].location
|
||||
name=name or mod.__name__, version=mod.__version__, location=bonobo_packages[name or mod.__name__].location
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user