Commit 6a4b9bcc authored by PJ Eby's avatar PJ Eby

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
parent 478fd8f9
...@@ -20,7 +20,7 @@ class build_ext(_build_ext): ...@@ -20,7 +20,7 @@ class build_ext(_build_ext):
def copy_extensions_to_source(self): def copy_extensions_to_source(self):
build_py = self.get_finalized_command('build_py') build_py = self.get_finalized_command('build_py')
for ext in self.extensions: for ext in self.extensions or ():
fullname = ext.name fullname = ext.name
modpath = fullname.split('.') modpath = fullname.split('.')
package = '.'.join(modpath[:-1]) package = '.'.join(modpath[:-1])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment