From f1375c5ea820d573ed83f0dc26f053e7a0752499 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Sat, 4 Oct 2008 20:09:04 -1000 Subject: [PATCH] Fix more problems in setup.py. --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index e713e100..a718ccbb 100644 --- a/setup.py +++ b/setup.py @@ -3,20 +3,20 @@ import glob import os main_etc_files = [] -for comp in glob.glob(os.path.join(os.getcwd(), 'etc', '*'): +for comp in glob.glob(os.path.join(os.getcwd(), 'etc', '*')): if os.path.isfile(comp): main_etc_files.append(comp) etc_data_files = [(os.path.join('etc', 'lorax'), main_etc_files)] -for comp in glob.glob(os.path.join(os.getcwd(), 'etc', '*'): +for comp in glob.glob(os.path.join(os.getcwd(), 'etc', '*')): if os.path.isdir(comp): - sub_files = glob.glob(comp, '*') + sub_files = glob.glob(os.path.join(comp, '*')) etc_path = os.path.join('etc', 'lorax', os.path.basename(comp)) etc_data_files.append((etc_path, sub_files)) data_files = [(os.path.join('usr', 'share', 'lorax'), - glob.glob('share/*'))] + etc_data_files + glob.glob(os.path.join('share', '*')))] + etc_data_files setup(name='lorax', version='0.1',