diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-06-14 14:56:51 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-06-14 14:56:51 -0700 |
commit | 93afde09d89e60c29dfd20790e30a06f031c82e1 (patch) | |
tree | 4789cac6212e03ae917852df923807b2cff53c13 /setup.py | |
parent | 632d56a23a947a23e18fa234d675e34a1a119593 (diff) | |
download | vyos-cloud-init-93afde09d89e60c29dfd20790e30a06f031c82e1.tar.gz vyos-cloud-init-93afde09d89e60c29dfd20790e30a06f031c82e1.zip |
Make the bin/cloud-init an actual console entrypoint
This allows for the test_cli test to be more sane.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -204,10 +204,14 @@ setuptools.setup( author_email='scott.moser@canonical.com', url='http://launchpad.net/cloud-init/', packages=setuptools.find_packages(exclude=['tests']), - scripts=['bin/cloud-init', - 'tools/cloud-init-per'], + scripts=['tools/cloud-init-per'], license='GPLv3', data_files=data_files, install_requires=requirements, cmdclass=cmdclass, + entry_points={ + 'console_scripts': [ + 'cloud-init = cloudinit.cmd.main:main' + ], + } ) |