Implements commands as extensions using stevedore; adds run and init command.
This commit is contained in:
15
Projectfile
15
Projectfile
@ -23,6 +23,7 @@ enable_features = {
|
||||
install_requires = [
|
||||
'blessings >=1.6,<1.7',
|
||||
'psutil >=5.0,<5.1',
|
||||
'stevedore >=1.19,<1.20',
|
||||
'toolz >=0.8,<0.9',
|
||||
]
|
||||
|
||||
@ -32,7 +33,7 @@ extras_require = {
|
||||
'ipywidgets >=6.0.0.beta5'
|
||||
],
|
||||
'dev': [
|
||||
'coverage >=4.2,<4.3',
|
||||
'coverage >=4.3,<4.4',
|
||||
'mock >=2.0,<2.1',
|
||||
'nose >=1.3,<1.4',
|
||||
'pylint >=1.6,<1.7',
|
||||
@ -52,6 +53,18 @@ data_files = [
|
||||
]),
|
||||
]
|
||||
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'bonobo = bonobo.commands:entrypoint'
|
||||
],
|
||||
'bonobo.commands': [
|
||||
'init = bonobo.commands.init:register',
|
||||
'run = bonobo.commands.run:register',
|
||||
],
|
||||
'edgy.project.features': [
|
||||
'bonobo = bonobo.ext.edgy.project.feature:BonoboFeature'
|
||||
]
|
||||
}
|
||||
|
||||
@listen('edgy.project.feature.make.on_generate', priority=10)
|
||||
def on_make_generate_docker_targets(event):
|
||||
|
||||
Reference in New Issue
Block a user