setup.py 462 B

12345678910111213141516171819202122232425
  1. # currently used only for osgeo4w
  2. # TODO: use instead of Makefile
  3. from distutils.core import setup, Extension
  4. setup(
  5. ext_modules= [
  6. Extension(
  7. '_grass7_wxnviz',
  8. sources=[
  9. "grass7_wxnviz.i",
  10. "change_view.cpp",
  11. "draw.cpp",
  12. "init.cpp",
  13. "lights.cpp",
  14. "load.cpp",
  15. "surface.cpp",
  16. "vector.cpp",
  17. "volume.cpp",
  18. ],
  19. swig_opts=['-c++','-shadow'],
  20. libraries=['grass_gis','grass_nviz','grass_ogsf','grass_g3d']
  21. )
  22. ]
  23. )