|
|
@ -2,10 +2,10 @@
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
sources=["pydfhack.cpp"],
|
|
|
|
sources=["DF_API.cpp", "DF_Buildings.cpp", "DF_Constructions.cpp", "DF_CreatureManager.cpp", "DF_GUI.cpp", "DF_Maps.cpp", "DF_Material.cpp", "DF_Position.cpp", "DF_Translate.cpp", "DF_Vegetation.cpp", "pydfhack.cpp"],
|
|
|
|
include_dirs=["..\\", "..\\include", "..\\depends\\md5", "..\\depends\\tinyxml"],
|
|
|
|
include_dirs=["..\\", "..\\include", "..\\depends\\md5", "..\\depends\\tinyxml"],
|
|
|
|
library_dirs=["..\\..\\output"],
|
|
|
|
library_dirs=["..\\..\\output"],
|
|
|
|
extra_compile_args=["-w"],
|
|
|
|
#extra_compile_args=["-w"],
|
|
|
|
libraries=["libdfhack"],
|
|
|
|
libraries=["libdfhack"],
|
|
|
|
export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"])
|
|
|
|
export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"])
|
|
|
|
|
|
|
|
|
|
|
|