setupmingw32.py 524 B

123456789101112131415
  1. #! /usr/bin/python
  2. # $Id: setupmingw32.py,v 1.1 2007/06/12 23:04:13 nanard Exp $
  3. # the MiniUPnP Project (c) 2007 Thomas Bernard
  4. # http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/
  5. #
  6. # python script to build the miniupnpc module under unix
  7. #
  8. from distutils.core import setup, Extension
  9. setup(name="miniupnpc", version="1.0-RC6",
  10. ext_modules=[
  11. Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
  12. libraries=["ws2_32"],
  13. extra_objects=["libminiupnpc.a"])
  14. ])