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)
22 lines
472 B
Python
22 lines
472 B
Python
# $NetBSD: setup.py,v 1.1 2002/01/28 09:32:55 drochner Exp $
|
|
|
|
import distutils
|
|
from distutils.core import setup, Extension
|
|
|
|
ncursesprefix = '@NCURSESPREFIX@'
|
|
ncincl = ncursesprefix + '/include'
|
|
nclib = ncursesprefix + '/lib'
|
|
|
|
setup(
|
|
ext_modules = [
|
|
Extension(
|
|
'_curses',
|
|
['Modules/_cursesmodule.c'],
|
|
define_macros=[('HAVE_NCURSES_H', None)],
|
|
include_dirs=[ncincl],
|
|
library_dirs=[nclib],
|
|
runtime_library_dirs=[nclib],
|
|
libraries=['ncurses']
|
|
)
|
|
]
|
|
)
|