--- ScientificPython-2.8/setup.py.old 2009-03-01 17:00:41.000000000 -0900 +++ ScientificPython-2.8/setup.py 2009-03-01 17:07:16.000000000 -0900 @@ -45,6 +45,9 @@ "Lib/site-packages/numpy/core/include")] else: arrayobject_h_include = [os.path.join(sys.prefix, + "lib64/python%s.%s/site-packages/numpy/core/include" + % sys.version_info [:2]), + os.path.join(sys.prefix, "lib/python%s.%s/site-packages/numpy/core/include" % sys.version_info [:2])] @@ -78,9 +81,10 @@ if netcdf_prefix is None: for netcdf_prefix in ['/usr/local', '/usr', '/sw']: netcdf_include = os.path.join(netcdf_prefix, 'include') - netcdf_lib = os.path.join(netcdf_prefix, 'lib') - if os.path.exists(os.path.join(netcdf_include, 'netcdf.h')): - break + for arch_lib in ['lib64', 'lib']: + netcdf_lib = os.path.join(netcdf_prefix, arch_lib) + if os.path.exists(os.path.join(netcdf_include, 'netcdf.h')): + break else: netcdf_prefix = None