Call the write_pkg_info method
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 22 Mar 2001 03:10:05 +0000 (03:10 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 22 Mar 2001 03:10:05 +0000 (03:10 +0000)
Lib/distutils/command/sdist.py

index 1f9e9184d74bda335ef484f4aa0a4ae45c66c2ec..894d7d44c5d1d9b7f1ce10e32344a9e1537c3393 100644 (file)
@@ -31,7 +31,6 @@ def show_formats ():
     pretty_printer.print_help(
         "List of available source distribution formats:")
 
-
 class sdist (Command):
 
     description = "create a source distribution (tarball, zip file, etc.)"
@@ -439,9 +438,10 @@ class sdist (Command):
                 dest = os.path.join(base_dir, file)
                 self.copy_file(file, dest, link=link)
 
+        self.distribution.metadata.write_pkg_info(base_dir)
+        
     # make_release_tree ()
 
-
     def make_distribution (self):
         """Create the source distribution(s).  First, we create the release
         tree with 'make_release_tree()'; then, we create all required