[Scons-dev] [Fwd: [Scons-users] [patch] SCons fails to run in standalone mode]
Russel Winder
russel at winder.org.uk
Sat Jul 6 04:49:44 EDT 2013
Switching this to the Dev list. Has anyone fixed this bootstrap.py issue
already?
-------- Forwarded Message --------
> From: H. S. Teoh <hsteoh at quickfur.ath.cx>
> Reply-to: SCons users mailing list <scons-users at scons.org>
> To: SCons users mailing list <users at scons.tigris.org>
> Subject: [Scons-users] [patch] SCons fails to run in standalone mode
> Date: Mon, 1 Jul 2013 08:02:17 -0700
>
> This was originally posted to the D mailing list, but reposting here
> upon Russel's suggestion.
>
> I used to be able to run SCons directly by invoking
> /path/to/bootstrap.py, but the latest version of SCons fails to find the
> appropriate files and aborts upon startup. Upon closer inspection, I
> found that it was making a wrong assumption about the path to said files
> (it assumes cwd = SCons root when it's still in the user's cwd).
>
> The attached patch fixes this problem for me.
>
> Hope this helps. Thanks!
>
>
> T
>
> --
> To err is human; to forgive is not our policy. -- Samuel Adler
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
diff -r f57afb0b72f5 bootstrap.py
--- a/bootstrap.py Wed May 15 12:50:05 2013 +0100
+++ b/bootstrap.py Sat Jun 29 10:13:45 2013 -0700
@@ -197,7 +197,7 @@
scons_py = os.path.join('src', 'script', 'scons.py')
- src_engine = os.path.join('src', 'engine')
+ src_engine = os.path.join(script_dir, 'src', 'engine')
MANIFEST_in = find(os.path.join(src_engine, 'MANIFEST.in'))
files = [ scons_py ] + [os.path.join(src_engine, x)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20130706/18c19f4b/attachment.pgp>
More information about the Scons-dev
mailing list