Changeset 911

Show
Ignore:
Timestamp:
10/13/07 15:18:09
Author:
alexamici
Message:

move the gdal link name in the setup.cfg so it can be easily overridden by users (and buildout) on debian systems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PCL/trunk/PCL-GDAL/setup.cfg

    r587 r911  
    1 #[build_ext] 
     1[build_ext] 
    22#include_dirs=/usr/local/include 
    33#library_dirs=/usr/local/lib 
     4 
     5# link name of GDAL to be used with -l link option 
     6# Note: on debian derived systems the link name may embed the version number 
     7#   i.e. on Ubuntu 7.04 use: libraries=gdal1.3.2 
     8libraries=gdal 
    49 
    510# Windows specific stuff 
  • PCL/trunk/PCL-GDAL/setup.py

    r889 r911  
    2121from setuptools import setup, Extension 
    2222 
     23# system dependant config is set in setup.cfg 
    2324osr_extension = Extension('cartography.proj._osrtranslate', 
    2425    sources=['cartography/proj/_osrtranslatemodule.c'], 
    25     libraries=['gdal'], 
    2626) 
    2727