diff options
author | Dirk Baechle <dl9obn@darc.de> | 2015-04-06 18:11:15 +0200 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2015-04-06 18:11:15 +0200 |
commit | 8861bdeda319b19eb7890603c32e66ca86069266 (patch) | |
tree | adb5ebc87bea4941cf4cf815f3b870a65885f9ae /SConstruct | |
parent | 94c74d2396dc54a13fa6a7080b0895ea7372bed5 (diff) | |
parent | 92907f21e0a36be8ef154562af8232f39d7dc842 (diff) | |
download | scons-8861bdeda319b19eb7890603c32e66ca86069266.tar.gz |
Merged in bdbaddog/scons (pull request #230), extending docs for InstallVersionedLib and SharedLibrary
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -172,12 +172,13 @@ if build_id is None: else: build_id = '' -skip_win_packages = ARGUMENTS.get('SKIP_WIN_PACKAGES',False) import os.path import distutils.command -skip_win_packages = not os.path.exists(os.path.join(os.path.split(distutils.command.__file__)[0],'wininst-9.0.exe')) -print "Skip_win_packages:%s"%skip_win_packages +no_winpack_templates = not os.path.exists(os.path.join(os.path.split(distutils.command.__file__)[0],'wininst-9.0.exe')) +skip_win_packages = ARGUMENTS.get('SKIP_WIN_PACKAGES',False) or no_winpack_templates +if skip_win_packages: + print "Skipping the build of Windows packages..." python_ver = sys.version[0:3] @@ -866,8 +867,6 @@ for p in [ scons ]: win32_exe = os.path.join(build, 'dist', "%s.win32.exe" % pkg_version) distutils_targets.extend([ win32_exe , win64_exe ]) - print "distutils_targets :%s"%distutils_targets - dist_distutils_targets = [] for target in distutils_targets: @@ -1110,8 +1109,6 @@ for p in [ scons ]: commands.append("$PYTHON $PYTHONFLAGS $SETUP_PY bdist_wininst --plat-name=win-amd64 --user-access-control auto") - print "Commands:%s"%commands - env.Command(distutils_targets, build_src_files, commands) # |