[yt-dev] pip requirements

Nathan Goldbaum nathan12343 at gmail.com
Sun Jan 18 15:24:26 PST 2015


On Sun, Jan 18, 2015 at 6:49 AM, John Zuhone <jzuhone at gmail.com> wrote:

> Is this "yes, we should" to install_requires or to a requirements.txt?
>
> Nathan, after looking it over, I see that there are problems when you
> have to define the same package in setup_requires and
> install_requires, which we'd have to do for NumPy.
>
> Having to depend on other C libraries doesn't bother me as much (isn't
> it strictly just HDF5?),


freetype and libpng as well, through matplotlib


> because those failures will be related to
> those other packages (h5py) and not yt in particular.


fair enough.  it should also be possible to make h5py an on-demand import,
like astropy.


>
> On Sat, Jan 17, 2015 at 4:04 PM, Matthew Turk <matthewturk at gmail.com>
> wrote:
> > Yes, we should.
> >
> >
> > On Sat, Jan 17, 2015, 2:50 PM John ZuHone <jzuhone at gmail.com> wrote:
> >>
> >> Hi dev,
> >>
> >> Should we have a requirements.txt file for pip? Currently we require
> users
> >> who install via pip to have the required packages set up already (numpy,
> >> sympy, h5py, etc.), but if we had a requirements file then it would pick
> >> these up automatically if they weren’t already there.
> >>
> >> https://pip.pypa.io/en/latest/user_guide.html#requirements-files
> >>
> >> John
> >> _______________________________________________
> >> yt-dev mailing list
> >> yt-dev at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
> >
> >
> > _______________________________________________
> > yt-dev mailing list
> > yt-dev at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
> >
>
>
>
> --
> John ZuHone
>
> Postdoctoral Researcher
> NASA/Goddard Space Flight Center
>
> jzuhone at gmail.com
> john.zuhone at nasa.gov
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20150118/423adb99/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-dev mailing list
yt-dev at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org


More information about the yt-dev mailing list