1
0

simplify setup.py using package_data

This commit is contained in:
ThomasV
2015-02-18 17:13:41 +01:00
parent 619ee02df8
commit b5ac7f2a7c
16 changed files with 22 additions and 109 deletions

View File

@@ -76,7 +76,8 @@ def theme_dirs_from_prefix(prefix):
def load_theme_paths():
theme_paths = {}
theme_paths.update(theme_dirs_from_prefix(util.data_dir()))
theme_dir = os.path.join(os.path.dirname(__file__), 'themes')
theme_paths.update(theme_dirs_from_prefix(theme_dir))
return theme_paths