Annotation of embedaddon/miniupnpc/setupmingw32.py, revision 1.1.1.2

1.1       misho       1: #! /usr/bin/python
1.1.1.2 ! misho       2: # $Id: setupmingw32.py,v 1.8 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 windows (using mingw32)
                      7: #
                      8: from distutils.core import setup, Extension
1.1.1.2 ! misho       9: from distutils import sysconfig
        !            10: sysconfig.get_config_vars()["OPT"] = ''
        !            11: sysconfig.get_config_vars()["CFLAGS"] = ''
        !            12: setup(name="miniupnpc", version="1.7",
1.1       misho      13:       ext_modules=[
                     14:                 Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
                     15:                           libraries=["ws2_32", "iphlpapi"],
                     16:                                   extra_objects=["libminiupnpc.a"])
                     17:                         ])
                     18: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>