Set include_package_data=True in setup.py.

Fixes issue where migrate.cfg was not getting installed.

Also, remove the previous 'data_files' fix from setup.py as it causes files
to get copied to the wrong location on install.

Fixes LP Bug #937265

Change-Id: I94e89271660baca4408df470a122e127540a4131

Updates.

Change-Id: I5c4744a14719393e4dc35c5ef6a292c57a81527c
This commit is contained in:
Dan Prince 2012-02-21 12:13:42 -05:00
parent 6919b05149
commit faf6866c17

View File

@ -9,10 +9,8 @@ setup(name='keystone',
author_email='openstack@lists.launchpad.net',
url='http://www.openstack.org',
packages=find_packages(exclude=['test', 'bin']),
include_package_data=True,
scripts=['bin/keystone-all', 'bin/keystone-manage'],
zip_safe=False,
install_requires=['setuptools', 'python-keystoneclient'],
data_files=[
('keystone/common/sql/migrate_repo',
['keystone/common/sql/migrate_repo/migrate.cfg'])]
)