diff -r 1f792d76fca3 -r 36032de96867 cubicweb/__pkginfo__.py --- a/cubicweb/__pkginfo__.py Thu Feb 15 10:26:55 2018 +0100 +++ b/cubicweb/__pkginfo__.py Thu Feb 15 10:55:49 2018 +0100 @@ -19,9 +19,6 @@ """cubicweb global packaging information for the cubicweb knowledge management software """ -from os import listdir -from os.path import join - modname = distname = "cubicweb" @@ -41,22 +38,8 @@ 'Programming Language :: JavaScript', ] -_server_migration_dir = join(modname, 'misc', 'migration') - # data files that shall be copied into the main package directory package_data = { 'cubicweb.web.views': ['*.pt'], 'cubicweb.pyramid': ['development.ini.tmpl'], } - -try: - # data files that shall be copied outside the main package directory - data_files = [ - # server data - [join('share', 'cubicweb', 'migration'), - [join(_server_migration_dir, filename) - for filename in listdir(_server_migration_dir)]], - ] -except OSError: - # we are in an installed directory, don't care about this - pass