<div dir="ltr">Thanks.<div><br></div><div>I don't have a huge amount of Windows expertise myself.</div><div><br></div><div>I'll write down a list of steps I used to build the bundle in the next few days. Then we can decide on an approach for automating it. I guess we would rely on a system installation of Python that write Python scripts to download/install everything.</div><div><br></div><div>A separate project almost, would be to compile better icons. The approach taken for the pip launchers is to compile a small C program and <a href="https://github.com/pypa/setuptools/tree/master/setuptools">commit the binaries in the repo</a> - then Python code tacks extra data onto the end that the C program knows how to read. (<a href="https://bitbucket.org/vinay.sajip/distlib/src/tip/PC/">This launcher</a> is also used by some packages - probably a setuptools vs distutils thing). My C is a bit rusty but I could probably take a stab at this.</div><div><br></div><div>I realise I built this bundle with 64-bit stuff - is anyone likely to have a 32-bit computer lying around?</div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, 21 Jun 2016 at 07:10 Amit Saha <<a href="mailto:amitsaha.in@gmail.com">amitsaha.in@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <<a href="mailto:lord.mauve@gmail.com" target="_blank">lord.mauve@gmail.com</a>> wrote:<br>
> I made a thing:<br>
><br>
> <a href="https://github.com/lordmauve/edubundle/releases/tag/0.1-beta" rel="noreferrer" target="_blank">https://github.com/lordmauve/edubundle/releases/tag/0.1-beta</a><br>
><br>
> I think it should just unzip to a USB stick and you're away... you've<br>
> obviously got things like Pygame Zero, Python Repl, Mu, a command prompt in<br>
> which you can use pip etc. IPython Notebook is in there for more advanced<br>
> stuff like graph plotting.<br>
><br>
> This was mainly a learning experience for me, and to see how it can be done.<br>
> The real work will be in automating the building of it and polishing up the<br>
> rough edges.<br>
<br>
I would like to contribute to automating it.. unless you have<br>
immediate deadlines for this. Do you need extensive Windows knowledge<br>
for this?<br>
<br>
<br>
<br>
><br>
> This was made much easier because various difficult dependencies (Pygame,<br>
> PyQt) are shipping or working on Windows wheels. Also for the most part<br>
> Python itself is quite happy without an absolute path (it has to be relative<br>
> so that it can be simply unzipped or mounted as different drive letters).<br>
> However pip creates binary executables for command line programs that do<br>
> not, by default, contain relative paths - I think that could be changed.<br>
><br>
> Windows .lnk files present additional problems. A good idea would be to use<br>
> the setuptools stuff to create little stub binaries that launch Python with<br>
> the right path config, plus contain an appropriate icon resource.<br>
><br>
> Another avenue for improvement, now that PyQt is in the bundle, would be to<br>
> write some additional GUI tools to make it a bit easier to do cool things -<br>
> perhaps a "piptitude" GUI for pip?<br>
><br>
> _______________________________________________<br>
> Pythonedu-wg mailing list<br>
> <a href="mailto:Pythonedu-wg@python.org" target="_blank">Pythonedu-wg@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/pythonedu-wg" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/pythonedu-wg</a><br>
><br>
<br>
<br>
<br>
--<br>
<a href="http://echorand.me" rel="noreferrer" target="_blank">http://echorand.me</a><br>
</blockquote></div></div></div>