# HG changeset patch # User Denis Laxalde # Date 1518686653 -3600 # Node ID 0e89483f50a1083451f3ce8336929b615a54e963 # Parent f607080b82a9bdda3a99318fe8addd17d0a33dd2 [pkg] Get rid of "shared" data These are not used anymore per previous changesets. Related to #17132990. diff -r f607080b82a9 -r 0e89483f50a1 cubicweb/__pkginfo__.py --- a/cubicweb/__pkginfo__.py Thu Feb 15 10:11:16 2018 +0100 +++ b/cubicweb/__pkginfo__.py Thu Feb 15 10:24:13 2018 +0100 @@ -21,8 +21,7 @@ """ import sys from os import listdir -from os.path import join, isdir -import glob +from os.path import join modname = distname = "cubicweb" @@ -44,11 +43,6 @@ ] _server_migration_dir = join(modname, 'misc', 'migration') -_data_dir = join(modname, 'web', 'data') -_wdoc_dir = join(modname, 'web', 'wdoc') -_wdocimages_dir = join(_wdoc_dir, 'images') -_views_dir = join(modname, 'web', 'views') -_i18n_dir = join(modname, 'i18n') _pyversion = '.'.join(str(num) for num in sys.version_info[0:2]) if '--home' in sys.argv: @@ -70,27 +64,7 @@ [join('share', 'cubicweb', 'migration'), [join(_server_migration_dir, filename) for filename in listdir(_server_migration_dir)]], - # web data - [join('share', 'cubicweb', 'cubes', 'shared', 'data'), - [join(_data_dir, fname) for fname in listdir(_data_dir) - if not isdir(join(_data_dir, fname))]], - [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'images'), - [join(_data_dir, 'images', fname) for fname in listdir(join(_data_dir, 'images'))]], - [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'jquery-treeview'), - [join(_data_dir, 'jquery-treeview', fname) for fname in listdir(join(_data_dir, 'jquery-treeview')) - if not isdir(join(_data_dir, 'jquery-treeview', fname))]], - [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'jquery-treeview', 'images'), - [join(_data_dir, 'jquery-treeview', 'images', fname) - for fname in listdir(join(_data_dir, 'jquery-treeview', 'images'))]], - [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc'), - [join(_wdoc_dir, fname) for fname in listdir(_wdoc_dir) - if not isdir(join(_wdoc_dir, fname))]], - [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc', 'images'), - [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]], - [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'), - glob.glob(join(_i18n_dir, '*.po'))], - # skeleton - ] + ] except OSError: # we are in an installed directory, don't care about this pass