Comment 5 for bug 937265

Revision history for this message
Dan Prince (dan-prince) wrote :

Okay. The fix for this seems to be to set include_package_data=True.

Using data_files is problematic when building RPMs in that it ultimately copies migrate.cfg to:

/usr/keystone/common/sql/migrate_repo/migrate.cfg

When it should be something like:

/usr/lib/python2.7/site-packages/keystone/common/sql/migrate_repo/migrate.cfg

---

I would add that both Nova and Glance do the same in their setup.py files.