[Pythonedu-wg] Edu bundle

Daniel Pope lord.mauve at gmail.com
Tue Jun 21 03:35:32 EDT 2016


Thanks.

I don't have a huge amount of Windows expertise myself.

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.

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 commit the
binaries in the repo
<https://github.com/pypa/setuptools/tree/master/setuptools> - then Python
code tacks extra data onto the end that the C program knows how to read. (This
launcher <https://bitbucket.org/vinay.sajip/distlib/src/tip/PC/> 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.

I realise I built this bundle with 64-bit stuff - is anyone likely to have
a 32-bit computer lying around?

On Tue, 21 Jun 2016 at 07:10 Amit Saha <amitsaha.in at gmail.com> wrote:

> On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve at gmail.com> wrote:
> > I made a thing:
> >
> > https://github.com/lordmauve/edubundle/releases/tag/0.1-beta
> >
> > I think it should just unzip to a USB stick and you're away... you've
> > obviously got things like Pygame Zero, Python Repl, Mu, a command prompt
> in
> > which you can use pip etc. IPython Notebook is in there for more advanced
> > stuff like graph plotting.
> >
> > This was mainly a learning experience for me, and to see how it can be
> done.
> > The real work will be in automating the building of it and polishing up
> the
> > rough edges.
>
> I would like to contribute to automating it.. unless you have
> immediate deadlines for this. Do you need extensive Windows knowledge
> for this?
>
>
>
> >
> > This was made much easier because various difficult dependencies (Pygame,
> > PyQt) are shipping or working on Windows wheels. Also for the most part
> > Python itself is quite happy without an absolute path (it has to be
> relative
> > so that it can be simply unzipped or mounted as different drive letters).
> > However pip creates binary executables for command line programs that do
> > not, by default, contain relative paths - I think that could be changed.
> >
> > Windows .lnk files present additional problems. A good idea would be to
> use
> > the setuptools stuff to create little stub binaries that launch Python
> with
> > the right path config, plus contain an appropriate icon resource.
> >
> > Another avenue for improvement, now that PyQt is in the bundle, would be
> to
> > write some additional GUI tools to make it a bit easier to do cool
> things -
> > perhaps a "piptitude" GUI for pip?
> >
> > _______________________________________________
> > Pythonedu-wg mailing list
> > Pythonedu-wg at python.org
> > https://mail.python.org/mailman/listinfo/pythonedu-wg
> >
>
>
>
> --
> http://echorand.me
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonedu-wg/attachments/20160621/f6224cee/attachment-0001.html>


More information about the Pythonedu-wg mailing list