modified setup script to export ReadRaw and WriteRaw

develop
doomchild 2010-04-05 11:08:55 -05:00
parent 514b0a5e45
commit c7217cbdf7
1 changed files with 3 additions and 2 deletions

@ -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])