Ticket #154 (feature request)

Opened 1 year ago

Last modified 5 months ago

Add library path to kyng chaos framework

Status: closed (fixed)

Reported by: seang Assigned to: seang
Priority: major Milestone:
Component: Shapely Version: 1.0
Keywords: dll hell Cc:

Submitted by Chris Barker:

> elif sys.platform == 'darwin':
>      lib = find_library('geos_c')
>      if lib is None:
>          ## try a few more locations
>          ## This, or course, could be a lot smarter!
>          lib_paths = 
> ["/Library/Frameworks/GEOS.framework/Versions/Current/GEOS",# The 
> Framework build from Kyng Chaos:
>          ]
>          for path in lib_paths:
>              if os.path.exists(path):
>                  lib = path
>                  break
>          else:
>              raise Exception("Could not find geos_c library")
>      lgeos = CDLL(lib)
>      free = CDLL(find_library('libc')).free
> else:

Change History

02/08/08 08:06:21: Modified by seang

  • status changed from new to assigned.
  • description changed.

08/22/08 21:12:48: Modified by seang

  • status changed from assigned to closed.
  • resolution set to fixed.