Sorry - I sent the message too early accidentally:
On Mon, Mar 10, 2014 at 3:31 PM, Matthew Brett <[email protected]> wrote:
> Hi,
>
> On Mon, Mar 10, 2014 at 3:25 PM, Christophe Bal <[email protected]> wrote:
>> Matthew, could you send me the code you use to build the DMG ?
>
> So - the dmg builds are in two phases:
>
> * make an mpkg installer, for each python.org python
> * change permissions on them
> * copy them into their own directory
> * make a dmg from this directory.
>
> Some of this is automated for example in the numpy pavement.py script:
>
> https://github.com/numpy/numpy/blob/master/pavement.py#L22
>
> Although they do more - make a nice graphic, add documentation and so on.
>
> In more detail
>
> For each version of python.org python:
> install bdist_mpkg : https://pypi.python.org/pypi/bdist_mpkg/
Then:
> # get relevant sympy code
> cd ~/repos/sympy
> git co sympy-0.7.5
> git clean -fxd
> # build installer (but with wrong permissions)
This next step was wrong:
> python2.7 setup.py bdist_mpkg
should be:
python2.7 setupegg.py bdist_mpkg
Then:
sudo reown_mpkg dist/sympy-0.7.5-py2.7-macosx10.6.mpkg root admin
python3.3 setupegg.py bdist_mpkg
sudo reown_mpkg dist/sympy-0.7.5-py3.3-macosx10.6.mpkg root admin
sudo hdiutil create -volname sympy-0.7.5 -srcfolder dist -ov
-format UDZO sympy-0.7.5.dmg
I think that should work for you, but if you try it, please do let me know.
Cheers,
Matthew
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/CAH6Pt5qEaT%3DL2L87Asd_Q63-aHav%3DQHm6XUBDLHc1Zvkn2mUbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.