Use console_scripts instead of bin
It is required for migration to pbr. Currently there is no need to use bin files. Change-Id: Ia06b1786e1c66370f472fc00937394be722526b1
This commit is contained in:
parent
49fa0002a4
commit
456394c8a3
10
setup.py
10
setup.py
|
@ -52,10 +52,12 @@ setuptools.setup(
|
||||||
setup_requires=['setuptools-git>=0.4'],
|
setup_requires=['setuptools-git>=0.4'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
scripts=[
|
entry_points={
|
||||||
'bin/savanna-api',
|
'console_scripts': [
|
||||||
'bin/savanna-db-manage',
|
'savanna-api = savanna.cmd.savanna_api:main',
|
||||||
],
|
'savanna-db-manage = savanna.db.migration.cli:main',
|
||||||
|
]
|
||||||
|
},
|
||||||
py_modules=[],
|
py_modules=[],
|
||||||
data_files=[
|
data_files=[
|
||||||
('share/savanna',
|
('share/savanna',
|
||||||
|
|
Loading…
Reference in New Issue