summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index ddb2c720..3b8754e5 100644
--- a/setup.py
+++ b/setup.py
@@ -32,8 +32,11 @@ def datafiles(prefix):
for dirname, extension in [('recipes', '.recipe'), ('packages', '.package')]:
for f in parse_dir(dirname, extension):
files.append((os.path.join(datadir, dirname), [f]))
- for dirname in ['data', 'config']:
- for f in parse_dir('data'):
+ for dirname in ['config']:
+ for f in parse_dir(dirname):
+ files.append((os.path.join(datadir, dirname), [f]))
+ for dirname in ['data']:
+ for f in parse_dir(dirname):
dirpath = os.path.split(f.split('/', 1)[1])[0]
files.append((os.path.join(datadir, dirpath), [f]))
return files