# HG changeset patch # User Julien Cristau # Date 1420727840 -3600 # Node ID c7b218125c25599641ff52c052c1d6e4b60b871a # Parent 59af860681029c1c3ccfc3f6a56f5d02975974e3 [pkg] don't include extra files in tarballs Blind wildcards for dirs that may contain generated or temporary files can lead to trouble and unreproducible results. diff -r 59af86068102 -r c7b218125c25 MANIFEST.in --- a/MANIFEST.in Thu Jan 08 12:36:48 2015 +0100 +++ b/MANIFEST.in Thu Jan 08 15:37:20 2015 +0100 @@ -39,3 +39,4 @@ prune misc/cwfs prune goa prune doc/book/en/devweb/js_api +global-exclude *.pyc diff -r 59af86068102 -r c7b218125c25 __pkginfo__.py --- a/__pkginfo__.py Thu Jan 08 12:36:48 2015 +0100 +++ b/__pkginfo__.py Thu Jan 08 15:37:20 2015 +0100 @@ -107,7 +107,7 @@ data_files = [ # server data [join('share', 'cubicweb', 'schemas'), - [join('schemas', filename) for filename in listdir('schemas')]], + [join('schemas', filename) for filename in glob.glob(join('schemas', '*.sql'))]], [join('share', 'cubicweb', 'migration'), [join(_server_migration_dir, filename) for filename in listdir(_server_migration_dir)]], @@ -125,7 +125,7 @@ [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc', 'images'), [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]], [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'), - [join(_i18n_dir, fname) for fname in listdir(_i18n_dir)]], + [join(_i18n_dir, fname) for fname in glob.glob(join(_i18n_dir, '*.po'))]], # skeleton ] except OSError: