From f34db63ae83d2f15ed75da2e74e10e6992c29645 Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 22 May 2005 21:07:24 +0000 Subject: Fixed file-finding algorithm --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 704ce47..3bc6d08 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,8 @@ from setuptools import setup BASEDIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'paste') def get_data_files(relpath, files=None): - files = files or [] + if files is None: + files = [] for name in os.listdir(os.path.join(BASEDIR, relpath)): if name.startswith("."): continue @@ -46,7 +47,6 @@ for subdir in [('app_templates',), package_data.extend(get_data_files(os.path.join(*subdir))) for filename in [('default_config.conf',)]: package_data.append(os.path.join(*filename)) -#print package_data __revision__ = '$Revision: $' -- cgit v1.2.1