]> granicus.if.org Git - python/commitdiff
Fixed so 'get_source_files()' calls 'check_extension_list()' -- that way,
authorGreg Ward <gward@python.net>
Thu, 29 Jun 2000 02:16:24 +0000 (02:16 +0000)
committerGreg Ward <gward@python.net>
Thu, 29 Jun 2000 02:16:24 +0000 (02:16 +0000)
we can run "sdist" on a distribution with old-style extension structures
even if we haven't built it yet.  Bug spotted by Harry Gebel.

Lib/distutils/command/build_ext.py

index 54d48467bcd604e381fa4add7bf8e75a96c2145e..9bb7e770011f2d4d21c3aec89e81127c195f5753 100644 (file)
@@ -309,7 +309,7 @@ class build_ext (Command):
 
 
     def get_source_files (self):
-
+        self.check_extension_list()
         filenames = []
 
         # Wouldn't it be neat if we knew the names of header files too...