Package for building DMG installers from pip requirements
Matthew Brett <[email protected]>
| Newsgroups | gmane.comp.python.apple |
|---|---|
| Message-ID | <CAH6Pt5rQ0XwY86Rt5trZzzirGvdvh25C8_avk4MqVK7xVn1X-w@mail.gmail.com> |
Hi,
I'd very much like your feedback on a utility I've written to make OSX
installers from wheels.
For my own course, and for matplotlib, I wanted to make an double click OSX
installer which would install a series of requirements into Python.org Python.
As usual, I got a lot of useful thinking on this from Min Ragan-Kelly
of IPython fame.
I've written an package that automates building the installer:
https://github.com/matthew-brett/wheels2dmg
There are some examples in the README, but the basic idea is:
wheels2dmg scipy-stack 1.0 scipy matplotlib ipython[notebook] \
pandas numexpr sympy --python-version 2.7.8
This uses pip to download wheels for the stated requirements, packages them up
into a 'wheels' directory, creates an OSX ``.pkg`` installer that will install
the wheels using pip, and puts this all into a ``.dmg`` disk image with a
suitable README, and a link for downloading Python.org Python.
The generated README covers installing into Macports and Homebrew.
My hope is that this makes it easy for people who want to provide a whole
stack to provide a ``.dmg`` installer that does the right thing in terms of
updating dependencies.
I'd love to get any feedback on whether this works for people, and missing
features.
Cheers,
Matthew
_______________________________________________
Pythonmac-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG