[Checkins] SVN: zc.buildout/trunk/ Fixed windows incompatibilities in revent bootstrap changes
Jim Fulton
jim at zope.com
Mon Jun 22 10:05:45 EDT 2009
Log message for revision 101222:
Fixed windows incompatibilities in revent bootstrap changes
Changed:
U zc.buildout/trunk/bootstrap/bootstrap.py
U zc.buildout/trunk/src/zc/buildout/bootstrap.txt
-=-
Modified: zc.buildout/trunk/bootstrap/bootstrap.py
===================================================================
--- zc.buildout/trunk/bootstrap/bootstrap.py 2009-06-22 13:46:25 UTC (rev 101221)
+++ zc.buildout/trunk/bootstrap/bootstrap.py 2009-06-22 14:05:44 UTC (rev 101222)
@@ -50,7 +50,7 @@
ws = pkg_resources.working_set
if len(sys.argv) > 2 and sys.argv[1] == '--version':
- VERSION = ' == %s' % sys.argv[2]
+ VERSION = '==%s' % sys.argv[2]
args = sys.argv[3:] + ['bootstrap']
else:
VERSION = ''
Modified: zc.buildout/trunk/src/zc/buildout/bootstrap.txt
===================================================================
--- zc.buildout/trunk/src/zc/buildout/bootstrap.txt 2009-06-22 13:46:25 UTC (rev 101221)
+++ zc.buildout/trunk/src/zc/buildout/bootstrap.txt 2009-06-22 14:05:44 UTC (rev 101222)
@@ -75,6 +75,8 @@
Let's make sure the generated `buildout` script uses it::
>>> buildout_script = join(sample_buildout, 'bin', 'buildout')
+ >>> if sys.platform.startswith('win'):
+ ... buildout_script += '-script.py'
>>> print open(buildout_script).read() # doctest: +ELLIPSIS
#...
<BLANKLINE>
More information about the Checkins
mailing list