summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/sdist.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-03-25 22:04:52 (GMT)
committerFred Drake <fdrake@acm.org>2004-03-25 22:04:52 (GMT)
commit4b49823eddd7c10f653acb4b6fbb2c32bfc70499 (patch)
treee70eb36035a13536f7b80fb9fd59c50a5740ebac /Lib/distutils/command/sdist.py
parent91e83e209d66d4b7a892c9360f9e524d6e282191 (diff)
downloadcpython-4b49823eddd7c10f653acb4b6fbb2c32bfc70499.zip
cpython-4b49823eddd7c10f653acb4b6fbb2c32bfc70499.tar.gz
cpython-4b49823eddd7c10f653acb4b6fbb2c32bfc70499.tar.bz2
make sure the default manifest generation includes files identified as
scripts closes SF bug 796042
Diffstat (limited to 'Lib/distutils/command/sdist.py')
-rw-r--r--Lib/distutils/command/sdist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index c0b7dd4..0a29add 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -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 ()