aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-22 00:32:48 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-22 00:32:48 +0000
commit6a4b9bcc03328f620cedb640892ae995a6cd3d30 (patch)
tree76abcabf152e21e20f33fcaea3728f66eb9ccace /setuptools/command/build_ext.py
parent478fd8f999a0dcd710985add8b4568d47a1f63ea (diff)
downloadexternal_python_setuptools-6a4b9bcc03328f620cedb640892ae995a6cd3d30.tar.gz
external_python_setuptools-6a4b9bcc03328f620cedb640892ae995a6cd3d30.tar.bz2
external_python_setuptools-6a4b9bcc03328f620cedb640892ae995a6cd3d30.zip
Fix a problem running build_ext -i w/no extensions.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041217
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r--setuptools/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index a2f2db09..4752a239 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -20,7 +20,7 @@ class build_ext(_build_ext):
def copy_extensions_to_source(self):
build_py = self.get_finalized_command('build_py')
- for ext in self.extensions:
+ for ext in self.extensions or ():
fullname = ext.name
modpath = fullname.split('.')
package = '.'.join(modpath[:-1])