|
|
@ -2,9 +2,10 @@
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
e = Extension("pydfhack",
|
|
|
|
sources=["UnionBase.cpp", "pydfhack.cpp", "DF_API.cpp"],
|
|
|
|
sources=["pydfhack.cpp", "DF_API.cpp"],
|
|
|
|
include_dirs=["..\\include"],
|
|
|
|
include_dirs=["..\\include"],
|
|
|
|
library_dirs=["..\\..\\output"],
|
|
|
|
library_dirs=["..\\..\\output"],
|
|
|
|
libraries=["libdfhack"])
|
|
|
|
libraries=["libdfhack"],
|
|
|
|
|
|
|
|
export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"])
|
|
|
|
|
|
|
|
|
|
|
|
setup(name="PyDFHack", version="1.0", ext_modules=[e])
|
|
|
|
setup(name="PyDFHack", version="1.0", ext_modules=[e])
|
|
|
|