From 5d8493461404fea94c671f352e4e42e07f1099e4 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 20 Jun 2012 17:45:45 -0700 Subject: Add a license and use find_packages to locate the needed packages --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b55ec4ff..81468943 100755 --- a/setup.py +++ b/setup.py @@ -68,13 +68,11 @@ setuptools.setup(name='cloud-init', author='Scott Moser', author_email='scott.moser@canonical.com', url='http://launchpad.net/cloud-init/', - # This second package referencing cloudinit.conf.* - # makes the config modules accessible to the whole - # import system... - packages=['cloudinit', 'cloudinit.config'], + packages=setuptools.find_packages(exclude=['tests']), scripts=['bin/cloud-init', 'tools/cloud-init-per', ], + license='GPLv3', data_files=[('/etc/cloud', glob('config/*.cfg')), ('/etc/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')), ('/etc/cloud/templates', glob('templates/*')), -- cgit v1.2.3