[Pythonedu-wg] Edu bundle

Amit Saha amitsaha.in at gmail.com
Tue Jun 21 05:31:10 EDT 2016


On Tue, Jun 21, 2016 at 5:35 PM, Daniel Pope <lord.mauve at gmail.com> wrote:
> 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.

Sounds great. I am looking to get some experience with appveyor.
>
> 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 - then Python code tacks extra data onto the end that
> the C program knows how to read. (This launcher 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



-- 
http://echorand.me


More information about the Pythonedu-wg mailing list