From 8202cd0e7ad78c2df4969635932752d9752e0896 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 29 Oct 2012 22:56:29 +0100 Subject: [PATCH] remove some debug, remove adding dirs Signed-off-by: Nico Schottelius --- setup.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/setup.py b/setup.py index d5dac616..5b5e2a47 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,5 @@ from distutils.core import setup - -#data_files=[('/usr/share/cdist', 'conf')], - # data_files=[('/tmp/cdist', ['conf'])], import cdist - import os def data_finder(data_dir): @@ -11,7 +7,6 @@ def data_finder(data_dir): for name in os.listdir(data_dir): entry = os.path.join(data_dir, name) if os.path.isdir(entry): - entries.append(entry) entries.extend(data_finder(entry)) else: entries.append(entry) @@ -21,11 +16,8 @@ def data_finder(data_dir): cur = os.getcwd() os.chdir("cdist") package_data = data_finder("conf") - # package_dir={'cdist': 'src/mypkg'}, os.chdir(cur) -print(package_data) - setup( name = "cdist", packages = ["cdist", "cdist.core", "cdist.exec", "cdist.util" ],