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