from setuptools import setup, find_packages


setup(name='keystone',
      version='2012.1',
      description="Authentication service for OpenStack",
      license='Apache License (2.0)',
      author='OpenStack, LLC.',
      author_email='openstack@lists.launchpad.net',
      url='http://www.openstack.org',
      packages=find_packages(exclude=['test', 'bin']),
      scripts=['bin/keystone-all', 'bin/keystone-manage'],
      zip_safe=False,
      install_requires=['setuptools', 'python-keystoneclient'],
      )

@@ -500,20 +500,148 @@
 neclient'%5D,%0A
+      data_files=%5B%0A          ('keystone/common/sql/migrate_repo',%0A           %5B'keystone/common/sql/migrate_repo/migrate.cfg'%5D)%5D%0A
       )%0A

Add migrate.cfg to data_files in setup.py