summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-05-22 21:07:24 +0000
committerianb <devnull@localhost>2005-05-22 21:07:24 +0000
commitf34db63ae83d2f15ed75da2e74e10e6992c29645 (patch)
treebbad8f82787463aa55bf57ef748f1d8c8f3432bb /setup.py
parentbb70b1d05f32851c440baa5eaa78a2707e51a282 (diff)
downloadpaste-f34db63ae83d2f15ed75da2e74e10e6992c29645.tar.gz
Fixed file-finding algorithm
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
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: $'