blob: ca25194e5d4d468e438300e60cbdeea879f7a0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: setup.py,v 1.1 2002/03/14 17:58:50 wiz Exp $
import distutils
from distutils.core import setup, Extension
rlprefix = '@RLPREFIX@'
rlincl = rlprefix + '/include'
rllib = rlprefix + '/lib'
rlrtprefix = '@RLRTPREFIX@'
rlrtlib = rlrtprefix + '/lib'
setup(
ext_modules = [
Extension(
'readline',
['Modules/readline.c'],
include_dirs=[rlincl],
library_dirs=[rllib],
runtime_library_dirs=[rlrtlib],
libraries=['readline', 'termcap']
)
]
)
|