pytz, dateutil not getting installed from svn build

John Hunter <jdh2358@...83...> writes:

> For some reason, builds from SVN dont install either pytz
> or dateutil (at least not in the right place). Importing pylab
> from these builds results in an import error.
>
This is typically caused when the install process detects that pytz
and dateutil are already installed, and so doesn't overright them. My
guess is that they were available in your PYTHONPATH at install time
but not at run time. So at install time they are detected and not
installed, but at run time they cannot be found. If this is the
solution, you need to build and run in the same environment, or blow
away existing copies of pytz and dateutil whereever they are lurking
and then reinstall mpl. Use the __file__ module attr to poke around
and see if you can find them.

Is there a way of forcing them to install? I dont mind going in and
deleting things by hand myself, but I am trying to have a build that
installs for almost everyone with minimum tinkering.

···

On 7/17/07, Chris Fonnesbeck <listservs@...83...> wrote:

Yes, just edit setup.py and remove the conditional checks and simply call

# always add these to the installer
add_pytz()
add_dateutil()

If you need something in the mpl build itself, eg so you can track svn
or future releases, we could probably support an environment variable
or something like it.

JDH

···

On 10/4/07, Chris <listservs@...935...> wrote:

Is there a way of forcing them to install? I dont mind going in and
deleting things by hand myself, but I am trying to have a build that
installs for almost everyone with minimum tinkering.