version 1.1.1.1, 2012/02/21 23:16:22
|
version 1.1.1.2, 2013/07/22 00:36:10
|
Line 1
|
Line 1
|
#! /usr/bin/python |
#! /usr/bin/python |
# $Id$ |
# $Id$ |
# the MiniUPnP Project (c) 2007-2011 Thomas Bernard | # the MiniUPnP Project (c) 2007-2012 Thomas Bernard |
# http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/ |
# http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/ |
# |
# |
# python script to build the miniupnpc module under windows (using mingw32) |
# python script to build the miniupnpc module under windows (using mingw32) |
# |
# |
from distutils.core import setup, Extension |
from distutils.core import setup, Extension |
setup(name="miniupnpc", version="1.5", | from distutils import sysconfig |
| sysconfig.get_config_vars()["OPT"] = '' |
| sysconfig.get_config_vars()["CFLAGS"] = '' |
| setup(name="miniupnpc", version="1.7", |
ext_modules=[ |
ext_modules=[ |
Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], |
Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], |
libraries=["ws2_32", "iphlpapi"], |
libraries=["ws2_32", "iphlpapi"], |