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/
    # get relevant sympy code
    cd ~/repos/sympy
    git co sympy-0.7.5
    git clean -fxd
    # build installer (but with wrong permissions)
    python2.7 setup.py bdist_mpkg
    # fix permissions




> -------------
>
> sympy.test() is too simple for a french brain. :-) The tests give only one
> warning and one error.
>
> WARNING
>
> sympy/core/tests/test_args.py[572]
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sympy/statistics/__init__.py:11:
> SymPyDeprecationWarning:
>
> sympy.statistics has been deprecated since SymPy 0.7.2. Use
>
> sympy.stats instead. See
>
> http://code.google.com/p/sympy/issues/detail?id=3386 for more info.
>
> deprecated_since_version="0.7.2"
>
> ERROR
>
> sympy/plotting/tests/test_plot.py[2]
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/matplotlib/pyplot.py:412:
> RuntimeWarning: More than 20 figures have been opened. Figures created
> through the pyplot interface (`matplotlib.pyplot.figure`) are retained until
> explicitly closed and may consume too much memory. (To control this warning,
> see the rcParam `figure.max_num_figures`).
>
>   max_open_warning, RuntimeWarning)
>
> False
>
>
> --
> 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/CAAb4jGmG5C9Cydc%3DO%2BNK%2B-xD0%2BL6E%3DaSeCiaftQ7MRxyjon%2B-A%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAH6Pt5qjkAq4wWWFHeeZRY_Wq--y3p_n1xGpvhvZ95PeJqsHuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to