Commit 74d0b875 authored by Fred Drake's avatar Fred Drake

make sure the default manifest generation includes files identified as

scripts
closes SF bug 796042
parent 62e895c4
......@@ -41,6 +41,8 @@ class build_scripts (Command):
('force', 'force'))
self.scripts = self.distribution.scripts
def get_source_files(self):
return self.scripts
def run (self):
if not self.scripts:
......
......@@ -304,6 +304,10 @@ class sdist (Command):
build_clib = self.get_finalized_command('build_clib')
self.filelist.extend(build_clib.get_source_files())
if self.distribution.has_scripts():
build_scripts = self.get_finalized_command('build_scripts')
self.filelist.extend(build_scripts.get_source_files())
# add_defaults ()
......
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