mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
25 lines
562 B
Python
25 lines
562 B
Python
# $NetBSD: setup.py,v 1.1.1.1 2002/10/16 16:45:56 tsarna Exp $
|
|
|
|
import distutils
|
|
from distutils.core import setup, Extension
|
|
|
|
expatprefix = '@EXPATPREFIX@'
|
|
expatincl = expatprefix + '/include'
|
|
expatlib = expatprefix + '/lib'
|
|
expatrtprefix = '@EXPATPREFIX@'
|
|
expatrtlib = expatrtprefix + '/lib'
|
|
|
|
setup(
|
|
ext_modules = [
|
|
Extension(
|
|
'pyexpat',
|
|
['Modules/pyexpat.c'],
|
|
define_macros=[('HAVE_EXPAT_H', None)],
|
|
include_dirs=[expatincl],
|
|
library_dirs=[expatlib],
|
|
runtime_library_dirs=[expatrtlib],
|
|
libraries=['expat']
|
|
)
|
|
]
|
|
)
|