John Hunter wrote:
> On 2/12/07, Charlie Moad <[EMAIL PROTECTED]> wrote:
>
>> You're changing positions on me now, John! ;)
>
> It's better that way -- that way I can be right both times :-)  Or is
> it wrong both times?   hmmm...
>
>> I asked about moving everything into the module, but you didn't want
>> to mix the fonts/images/etc, so I made the install merge the data into
>> a folder.  I would love to be able to run "setup develop" as well.
>
> OK, I see, so the problem was we had to flatten everything and mix all
> these datatypes together?  eggs can't handle the existing directory
> structure in the mpl-data?  It would clearly be better if it could,
> because dumping all the data files together isn't terribly elegant, so
> I think it would be useful for some egghead to verify this and see if
> there isn't a way to have the best of all worlds.  I haven't used eggs
> so can't say anything intelligent, except that I'm happy to defer to
> those who know more about it and let's get it setup that that work
> properly with mpl-data for eggs and and regular old-fashioned mpl
> installs.  If this means that we do have to flatten the data directory
> structure, so be it.  That's why god gave us 'ls *.EXT '
Well, another option is to maintain a sub-directory structure when 
creating mpl-data in the source package. The downside is that this will 
introduce code changes all over the code -- for example, code that 
previously asked for "os.path.join( mpl.get_data_dir(), 'blah.glade' )" 
would have to be converted to "os.path.join( mpl.get_data_dir(), 'gui', 
'blah.glade' )".

So, the low energy, low probability-of-breakage approach is indeed to 
pile everything into mpl-data and make judicious use of "ls *.ext". This 
is what we install in site-packages anyway, so it can't be that bad, 
right? :)

-Andrew

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to