diff --git a/dfhack/python/setup.py b/dfhack/python/setup.py index ad528a7a8..dda41f241 100644 --- a/dfhack/python/setup.py +++ b/dfhack/python/setup.py @@ -2,9 +2,10 @@ from distutils.core import setup, Extension e = Extension("pydfhack", - sources=["UnionBase.cpp", "pydfhack.cpp", "DF_API.cpp"], + sources=["pydfhack.cpp", "DF_API.cpp"], include_dirs=["..\\include"], library_dirs=["..\\..\\output"], - libraries=["libdfhack"]) + libraries=["libdfhack"], + export_symbols=["initpydfhack", "ReadRaw", "WriteRaw"]) setup(name="PyDFHack", version="1.0", ext_modules=[e])