Annotation of embedaddon/miniupnpc/setup.py, revision 1.1.1.2
1.1 misho 1: #! /usr/bin/python
1.1.1.2 ! misho 2: # $Id: setup.py,v 1.9 2012/05/23 08:50:10 nanard Exp $
! 3: # the MiniUPnP Project (c) 2007-2012 Thomas Bernard
1.1 misho 4: # http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/
5: #
6: # python script to build the miniupnpc module under unix
7: #
8: # replace libminiupnpc.a by libminiupnpc.so for shared library usage
9: from distutils.core import setup, Extension
1.1.1.2 ! misho 10: from distutils import sysconfig
! 11: sysconfig.get_config_vars()["OPT"] = ''
! 12: sysconfig.get_config_vars()["CFLAGS"] = ''
! 13: setup(name="miniupnpc", version="1.7",
1.1 misho 14: ext_modules=[
15: Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
16: extra_objects=["libminiupnpc.a"])
17: ])
18:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>