|
|
@ -2,9 +2,10 @@
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
sources=["DF_MemInfo.cpp", "DF_API.cpp", "pydfhack.cpp"],
|
|
|
|
sources=["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"],
|
|
|
|
libraries=["libdfhack"],
|
|
|
|
libraries=["libdfhack"],
|
|
|
|
export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"])
|
|
|
|
export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"])
|
|
|
|
|
|
|
|
|
|
|
|