From 8e70741f93305f5b28bd3f77954f615aa0fcf840 Mon Sep 17 00:00:00 2001 From: Dirk Baechle Date: Sat, 4 May 2013 02:26:07 +0200 Subject: - patched setup.py and several MANIFEST files, such that the docbook-xsl folder and all additional documentation sources get packaged properly - added basic support for wildcards and recursive globbing in MANIFEST files - added missing JPG/SVG files --- SConstruct | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 8dce43b1..f2899473 100644 --- a/SConstruct +++ b/SConstruct @@ -42,6 +42,8 @@ import stat import sys import tempfile +import bootstrap + project = 'scons' default_version = '2.3.1.alpha.yyyymmdd' copyright = "Copyright (c) %s The SCons Foundation" % copyright_years @@ -755,7 +757,7 @@ for p in [ scons ]: # destination files. # manifest_in = File(os.path.join(src, 'MANIFEST.in')).rstr() - src_files = [x[:-1] for x in open(manifest_in).readlines()] + src_files = bootstrap.parseManifestLines(src, open(manifest_in).readlines()) raw_files = src_files[:] dst_files = src_files[:] rpm_files = [] @@ -774,7 +776,7 @@ for p in [ scons ]: isubdir = p['subinst_dirs'][sp['pkg']] MANIFEST_in = File(os.path.join(src, ssubdir, 'MANIFEST.in')).rstr() MANIFEST_in_list.append(MANIFEST_in) - files = [x[:-1] for x in open(MANIFEST_in).readlines()] + files = bootstrap.parseManifestLines(os.path.join(src, ssubdir), open(MANIFEST_in).readlines()) raw_files.extend(files) src_files.extend([os.path.join(ssubdir, x) for x in files]) for f in files: -- cgit v1.2.1