Switching this to the Dev list. Has anyone fixed this bootstrap.py issue already?
-------- Forwarded Message -------- > From: H. S. Teoh <[email protected]> > Reply-to: SCons users mailing list <[email protected]> > To: SCons users mailing list <[email protected]> > 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 > [email protected] > http://four.pairlist.net/mailman/listinfo/scons-users -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
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)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Scons-dev mailing list [email protected] http://two.pairlist.net/mailman/listinfo/scons-dev
