Re: New version of PyNGL

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Sun, 12 Dec 2004 07:54:58 -0700

Thanks Jeff, I'll incorporate this right away and release a new
version. Do you know why
site.sitedirs was removed?

Also, the "copy_files" variable should have been False by default. I
caught this on Friday and
made a new version with the correction.

Thanks!

--Mary

On Dec 12, 2004, at 7:20 AM, Jeff Whitaker wrote:

> Philip Austin wrote:
>
>> installation fails for Python 2.4 because setup.py and pynglex
>> both rely on site.sitedirs. This variable has been removed
>> from the site module, and it's not clear to me what to use
>> as a replacement. Googling comp.lang.python and python-dev
>> didn't turn up anything.
>>
> import os, sys
> sitedirs=os.path.join(sys.prefix, 'lib',
> 'python'+sys.version[:3],'site-packages')
>
> should work as a replacement for site.sitedirs.
>
> -Jeff
>
> --
> Jeffrey S. Whitaker Phone : (303)497-6313
> NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449
> 325 Broadway Web : http://www.cdc.noaa.gov/~jsw
> Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
>

_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Sun Dec 12 2004 - 07:54:58 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:17 MST