mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Call the write_pkg_info method
This commit is contained in:
parent
a7210ed272
commit
a7f225d88a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue