Opened 16 years ago

Last modified 15 years ago

#2637 new defect

Python bindings issue with AGG in its static library flavor

Reported by: frankie Owned by: hobu
Priority: normal Milestone: 6.0 release
Component: MapScript-Python Version: unspecified
Severity: major Keywords:
Cc:

Description

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483400 and http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg14117.html.

Basically setup.py needs fixes to managed both static and dynamic cases for AGG. Note that in 2.5+ the shared libs are not more provided AFAIK. A simple fix is available in 5.0.2-3 for Debian.

Change History (2)

comment:1 by hobu, 15 years ago

Milestone: 6.0 release

I have substantially reworked setup.py to follow GDAL's approach now that we have a mapserver-config script built as part of the default make. The following changes were made:

  • setup.cfg is now available to override options
  • --libs and --includes are now used from mapserver-config to build the MapScript .so

This should cure the AGG problem and it allows Python MapScript (at least) to ditch the icky mapscriptvars approach.

Added in r8939

comment:2 by hobu, 15 years ago

Forgot to add that setup.py also uses/requires setuptools now.

Note: See TracTickets for help on using tickets.