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.
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?
You're a star! :-)
On 20/06/16 22:34, Daniel Pope 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.
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@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve@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@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
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@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
On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve@gmail.com> wrote: 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
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
relative things -
perhaps a "piptitude" GUI for pip?
Pythonedu-wg mailing list Pythonedu-wg@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
Thanks so much! Would be great to work with teachers on at PyconUK :)
When might you need some teachers or technicians working in schools to test? There are a few in this working group. If you let us know what you would like us to do and what to report back, we can do so.
Cheers,
Carrie Anne.
On Tue, Jun 21, 2016 at 8:35 AM, Daniel Pope <lord.mauve@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.
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@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
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
On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve@gmail.com> wrote: prompt in 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
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
(Pygame, things -
perhaps a "piptitude" GUI for pip?
Pythonedu-wg mailing list Pythonedu-wg@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
Pythonedu-wg mailing list Pythonedu-wg@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
-- Director of Education Raspberry Pi Foundation UK Charity No. 1129409
www.raspberrypi.org | www.codeclub.org.uk @ <http://twitter.com/missphilbin> | in <https://uk.linkedin.com/in/carrie-anne-philbin-a20649b7> | *▷* <https://www.youtube.com/user/GeekGurlDiaries>
I'd be keen to have feedback as soon as possible on what works and what doesn't.
On Tue, 21 Jun 2016 08:53 Carrie Anne Philbin, <carrieanne@raspberrypi.org> wrote:
Thanks so much! Would be great to work with teachers on at PyconUK :)
When might you need some teachers or technicians working in schools to test? There are a few in this working group. If you let us know what you would like us to do and what to report back, we can do so.
Cheers,
Carrie Anne.
On Tue, Jun 21, 2016 at 8:35 AM, Daniel Pope <lord.mauve@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.
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@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
On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve@gmail.com> wrote: 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
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
(Pygame, things -
perhaps a "piptitude" GUI for pip?
Pythonedu-wg mailing list Pythonedu-wg@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
Pythonedu-wg mailing list Pythonedu-wg@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
-- Director of Education Raspberry Pi Foundation UK Charity No. 1129409
www.raspberrypi.org | www.codeclub.org.uk @ <http://twitter.com/missphilbin> | in <https://uk.linkedin.com/in/carrie-anne-philbin-a20649b7> | *▷* <https://www.youtube.com/user/GeekGurlDiaries>
On Tue, Jun 21, 2016 at 5:35 PM, Daniel Pope <lord.mauve@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@gmail.com> wrote:
On Tue, Jun 21, 2016 at 7:34 AM, Daniel Pope <lord.mauve@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@python.org https://mail.python.org/mailman/listinfo/pythonedu-wg
participants (4)
-
Amit Saha
-
Carrie Anne Philbin
-
Daniel Pope
-
Nicholas H.Tollervey