Re: New version of PyNGL

From: Jeff Whitaker <jswhit_at_nyahnyahspammersnyahnyah>
Date: Sun, 12 Dec 2004 07:20:47 -0700

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
Received on Sun Dec 12 2004 - 07:20:47 MST

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