[Scons-users] Bootstrap-scons: a zero-dependency script for bootstrapping SCons and Python on Windows

Ryan Saunders jediry at outlook.com
Wed Apr 17 13:48:30 EDT 2019


Thanks Bill, good questions.

I wasn't aware of "pip install", so my script is unpacking a scons-local package into a private directory. I'll take a look at pip as a possible improvement.

Re: "how hard is it", perhaps the Linux world has made me lazy, but I personally find it obnoxious if I can't get a project into a buildable state just from the command line. "sudo apt install scons" is easy. Having to launch a browser to go hunt down Python, click through an installer, and then restart my shell... that's enough friction to be annoying. Doubly so, if I have to repeat this to acquire SCons. (Again, I didn't know about pip install.)

Ryan

Get Outlook for Android<https://aka.ms/ghei36>

From: Bill Deegan
Sent: Tuesday, March 19, 4:32 PM
Subject: Re: [Scons-users] Bootstrap-scons: a zero-dependency script for bootstrapping SCons and Python on Windows
To: SCons users mailing list


I'm not sure how hard it is to download python and then pip install scons?
Are you using pip to install scons if not installed?
Are you createing a virtualenv or installing it in the python installl/?

-Bill

On Mon, Mar 18, 2019 at 11:37 PM Ryan Saunders < jediry at outlook.com<mailto:jediry at outlook.com>> wrote:
Hello!
This is to announce the v1.0 release of bootstrap-scons<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjediry%2Fbootstrap-scons&data=02%7C01%7C%7C8f5b80160276449892c208d6acc317a0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636886351243357936&sdata=twGOqLygiXGsAY%2BmkfCmTwVixzBQ%2FhikO3NAui6S0vk%3D&reserved=0>, which I created for a personal project, and which I hope will be useful to others.
One of the hurdles to building a project with SCons on Windows is the manual effort of installing dependencies. Unlike the UNIX world, where you can just say "./configure && make" to get up and running, on Windows you typically have to manually download and install SCons, and probably also Python...kind of a lot of effort.
bootstrap-scons aims to make using SCons on Windows friction-free. This set of scripts uses only capabilities available out-of-the-box on any recent versions of Windows, to automatically locate and use any installed copies of SCons/Python, or optionally, to download them if not found.
Read more at: https://github.com/jediry/bootstrap-scons<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjediry%2Fbootstrap-scons&data=02%7C01%7C%7C8f5b80160276449892c208d6acc317a0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636886351243367936&sdata=oFVv5cQwIq4oD2MQW%2BwmCvW%2FezehVy43OdKo3wm5WMs%3D&reserved=0>
Feedback, feature requests and bug reports welcome. (Note: while this _ should_ work on versions of Windows as far back as XP, I’ve only tested it on Win10 so far…if you try it on an earlier version, please report any issues on the GitHub issue tracker.)
Ryan
Get Outlook for Android<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7C%7C8f5b80160276449892c208d6acc317a0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636886351243377947&sdata=tGW5pkCCZt1wojc%2Fp88iPP%2BvCHwBQd4hbcwHF8pVaj0%3D&reserved=0>

_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7C%7C8f5b80160276449892c208d6acc317a0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636886351243387952&sdata=R%2FgFKzWjgzWaM5euWuMTrl6HHRWSjhEuVjul1i%2BvskQ%3D&reserved=0>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190417/1b8366da/attachment-0001.html>


More information about the Scons-users mailing list