A Thursday 11 November 2010 15:43:22 Gerrit Holl escrigué: > On 10 November 2010 16:50, Francesc Alted <fal...@pytables.org> wrote: > >> One side note: I forgot to update numexpr before recompiling > >> pytables, and pytables only complained run-time, not compile-time. > >> It would be nice if pytables checked such essential dependencies > >> compile- or install-time. > > > > I don't agree. Numexpr is not a compile-time requisite, only a > > run-time one. If the version is less than recommended, a message > > is issued. > > > > Hmmm, now that I think about this, I suppose it is better to issue > > a true Python warning, instead of a plain print. Added a ticket: > > > > http://pytables.org/trac/ticket/311 > > Well, as "import pytables" fails until numexpr is installed, I think > that should be a rather large warning in big red blinking capital > letters "you cannot use pytables until you install/upgrade numexpr!" > ;). Actually, I still think it should be an error by default, but > that the user can override it ("yes, I do want to install it even if > I have missing dependencies, and I will install those larger").
I partly agree with you, and in fact this was the previous behaviour. However, someone complained that, when using 'easy_install' or 'pip' for installing PyTables, the error was inappropriate because numexpr should be downloaded and installed automatically (see ticket #298). However, now that I think, perhaps the old behaviour (i.e. complaining during setup.py execution time) could be restored by using the ``has_setuptools`` variable in setup.py. Hmmm, added a note in: http://pytables.org/trac/ticket/298 -- Francesc Alted ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users