Skip to content

Commit

Permalink
Building the _psp extension is done in the same way as buidling mod_p…
Browse files Browse the repository at this point in the history
…ython.so.
  • Loading branch information
nlehuen committed Jan 29, 2005
1 parent 997d24a commit db23889
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/setup.py.in
Expand Up @@ -100,10 +100,12 @@ class PSPExtension(Extension):
Extension.__init__(self, "mod_python._psp",
[os.path.join(source_dir, source_file) for source_file in
("psp_string.c", "psp_parser.c", "_pspmodule.c")],
include_dirs=include_dirs,
define_macros=[('WIN32',None)]
include_dirs=include_dirs
)

if winbuild:
self.define_macros.extend([('WIN32',None),('NDEBUG',None),('_WINDOWS',None)])

PSPModule = PSPExtension(getmp_srcdir(), [getmp_includedir()])

modpy_src_files = ("mod_python.c", "_apachemodule.c", "connobject.c", "filterobject.c",
Expand Down

0 comments on commit db23889

Please sign in to comment.