summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-03-22 03:10:05 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-03-22 03:10:05 (GMT)
commita7f225d88af3b7a77b0fd8c0ed6129b46c5af865 (patch)
tree505746cb72ec5e1d64c943b0258502332e732554
parenta7210ed2728faefdcc440fb359ff1a1abdca998e (diff)
downloadcpython-a7f225d88af3b7a77b0fd8c0ed6129b46c5af865.zip
cpython-a7f225d88af3b7a77b0fd8c0ed6129b46c5af865.tar.gz
cpython-a7f225d88af3b7a77b0fd8c0ed6129b46c5af865.tar.bz2
Call the write_pkg_info method
-rw-r--r--Lib/distutils/command/sdist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index 1f9e918..894d7d4 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -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