04a768f05a
newer Python versions too, XXX we have to override the do-patch rule to avoid patch errors (we use EXTRACT_ELEMENTS, so we don't generally have all the original files)
21 lines
416 B
Python
21 lines
416 B
Python
# $NetBSD: setup.py,v 1.1 2002/01/28 09:30:10 drochner Exp $
|
|
|
|
import distutils
|
|
from distutils.core import setup, Extension
|
|
|
|
gdbmprefix = '@GDBMPREFIX@'
|
|
gdbmincl = gdbmprefix + '/include'
|
|
gdbmlib = gdbmprefix + '/lib'
|
|
|
|
setup(
|
|
ext_modules = [
|
|
Extension(
|
|
'gdbm',
|
|
['Modules/gdbmmodule.c'],
|
|
include_dirs=[gdbmincl],
|
|
library_dirs=[gdbmlib],
|
|
runtime_library_dirs=[gdbmlib],
|
|
libraries=['gdbm']
|
|
)
|
|
]
|
|
)
|