aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-11 00:37:37 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-11 00:37:37 +0000
commit8cc0d5c27e393605ac2c729143b8730aa973a128 (patch)
tree3bb910e237635aa26f3ab61938db7e800c6e7181 /setuptools/command/build_py.py
parent647153e60591f4385d7c3c84131da2ac4c050fe0 (diff)
downloadexternal_python_setuptools-8cc0d5c27e393605ac2c729143b8730aa973a128.tar.gz
external_python_setuptools-8cc0d5c27e393605ac2c729143b8730aa973a128.tar.bz2
external_python_setuptools-8cc0d5c27e393605ac2c729143b8730aa973a128.zip
Fix bugs reported by Ian Bicking, Walter Doerwald, and Vincenzo Di Massa.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041189
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 95e83c30..9db49080 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -39,7 +39,7 @@ class build_py(_build_py):
def get_data_files(self):
"""Generate list of '(package,src_dir,build_dir,filenames)' tuples"""
data = []
- for package in self.packages:
+ for package in self.packages or ():
# Locate package source directory
src_dir = self.get_package_dir(package)