Re: mkpg on OSX
> Is one of these two locations preferable for the
> default?
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
is preferable.
The location depends on whether the user has a framework Python or a normal static Python installed. For GUI
programs, a framework Python is preferable. For the Mac/README in the Python source distribution:
1. Why would I want a framework Python instead of a normal static Python?
--------------------------------------------------------------------------
The main reason is because you want to create GUI programs in Python. With the exception of
X11/XDarwin-based GUI toolkits all GUI programs need to be run from a fullblown MacOSX application (a
".app" bundle).
(I'd like to add to this that X11/XDarwin-based GUI toolkits, such as PyGTK, also work fine with a framework Python).
> Is there a way to inform bdist_mkpg of the desired install target?
>From what I've seen, bdist_mpkg uses
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
if the Python creating the package is a framework Python.
--Michiel
--- On Sat, 8/1/09, John Hunter <jdh2358@...> wrote:
> From: John Hunter <jdh2358@...>
> Subject: [matplotlib-devel] mkpg on OSX
> To: "matplotlib development list" <matplotlib-devel@...>
> Date: Saturday, August 1, 2009, 1:43 PM
> I tried testing the OSX binaries I
> built Friday on my local OSX laptop
> today, and had a problem with the mkpg installer
>
> http://drop.io/xortel1/asset/matplotlib-0-99-0-rc1-py2-5-macosx10-5-zip
>
> On the sage box I used to do the builds, the default python
> path that
> the installer picks up is
>
> /Library/Python/2.5/site-packages
>
> and this is where it put mpl when I ran the installer on my
> local box.
> But then when I try and import matplotlib on my local box
> w/o
> modifying the PYTHONPATH, I can't find it because my local
> python is
> looking in
>
>
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
>
> Is one of these two locations preferable for the
> default? Is there a
> way to inform bdist_mkpg of the desired install target? Is
> there any
> notion of the right way to do things w/ python on OSX?
>
> JDH
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day
> trial. Simplify your report design, integration and
> deployment - and focus on
> what you do best, core application coding. Discover what's
> new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july