setup.py 370 B

12345678910111213141516
  1. from distutils.core import setup, Extension
  2. import os
  3. setup(
  4. ext_modules= [
  5. Extension(
  6. '_grass6_wxvdigit',
  7. sources=[
  8. "python_grass6.i",
  9. ],
  10. swig_opts=['-c++', '-shadow', "-I%s" % os.environ.get("GRASS_INC"), "-I%s\\include" % os.environ.get("OSGEO4W_ROOT") ],
  11. libraries=['grass_gmath', 'grass_imagery','grass_gis','grass_vedit','gdal_i']
  12. )
  13. ]
  14. )