[Scons-dev] Using SCons via bootstrap.py

Gary Oberbrunner garyo at oberbrunner.com
Wed May 22 16:15:36 EDT 2013


I assume you do have a SConstruct in /home/dirk/tmp/boottest?

Basically, "python .../bootstrap.py" should work just like saying "scons"
except you don't have to have SCons installed.


On Wed, May 22, 2013 at 3:10 PM, Dirk Bächle <tshortik at gmx.de> wrote:


> Hi,

>

> I started to fix bootstrap.py, such that the parseManifestLines() doesn't

> need os.chdir() anymore. After the rewrite, the local call "python

> bootstrap.py" works fine again...so far, so good.

> But I'm not able to figure out how to call it from a different folder.

>

> I even switched back to revision "018709cfd9f4" (merge of pull request

> #66, +1), but when I call

>

> python /home/dirk/workspace/scons_**dirkbaechle/bootstrap.py

>

> from "/home/dirk/tmp/boottest", all I get is:

>

> ==============================**===============

>

> dirk at ubuntu:~/tmp/boottest$ python /home/dirk/workspace/scons_**

> dirkbaechle/bootstrap.py

> /usr/bin/python /home/dirk/workspace/scons_**dirkbaechle/bootstrap/src/**

> script/scons.py

>

> scons: *** No SConstruct file found.

> File "/home/dirk/workspace/scons_**dirkbaechle/bootstrap/src/**engine/SCons/Script/Main.py",

> line 905, in _main

> dirk at ubuntu:~/tmp/boottest$

>

> ==============================**===============

>

> Any pointers about what I'm doing wrong are welcome. I checked the

> README.rst, but couldn't find any advice about what paths or env vars to

> set additionally. Or do I need special arguments on the command line?

>

> Thanks a lot in advance,

>

>

> Dirk

>

> ______________________________**_________________

> Scons-dev mailing list

> Scons-dev at scons.org

> http://two.pairlist.net/**mailman/listinfo/scons-dev<http://two.pairlist.net/mailman/listinfo/scons-dev>

>




--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20130522/3d992b55/attachment.html>


More information about the Scons-dev mailing list