Include alembic versions directory to the package

If package is built without access to git metadata, all the migration
scripts are not included in the build. We need to explicitly specify to
package the scripts.

This patch also removes non-existing files from MANIFEST.in

Change-Id: I840d2bd8b61268891007f9ae1082d89e33d90373
Closes-Bug: #1658899
This commit is contained in:
ZHAO YI 2017-01-24 14:44:58 +08:00 committed by Yi Zhao
parent d311cfb77a
commit a586d43529
1 changed files with 13 additions and 0 deletions

13
MANIFEST.in Normal file
View File

@ -0,0 +1,13 @@
include AUTHORS
include ChangeLog
include LICENSE
include README.rst
exclude .gitignore
exclude .gitreview
include tacker/db/migration/README
include tacker/db/migration/alembic.ini
include tacker/db/migration/alembic_migrations/script.py.mako
recursive-include tacker/db/migration/alembic_migrations/versions *
global-exclude *.pyc