diff options
| author | ianb <devnull@localhost> | 2005-05-22 21:07:24 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-05-22 21:07:24 +0000 |
| commit | f34db63ae83d2f15ed75da2e74e10e6992c29645 (patch) | |
| tree | bbad8f82787463aa55bf57ef748f1d8c8f3432bb /setup.py | |
| parent | bb70b1d05f32851c440baa5eaa78a2707e51a282 (diff) | |
| download | paste-f34db63ae83d2f15ed75da2e74e10e6992c29645.tar.gz | |
Fixed file-finding algorithm
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: $' |
