mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 13:07:55 +00:00
18 lines
600 B
Python
18 lines
600 B
Python
#! /usr/bin/python
|
|
# $Id: setupmingw32.py,v 1.3 2012/03/05 04:54:01 nanard Exp $
|
|
# python script to build the miniupnpc module under windows
|
|
#
|
|
from distutils.core import setup, Extension
|
|
from distutils import sysconfig
|
|
sysconfig.get_config_vars()["OPT"] = ''
|
|
sysconfig.get_config_vars()["CFLAGS"] = ''
|
|
setup(name="libnatpmp", version="1.0",
|
|
ext_modules=[
|
|
Extension(name="libnatpmp", sources=["libnatpmpmodule.c"],
|
|
libraries=["ws2_32"],
|
|
extra_objects=["libnatpmp.a"],
|
|
define_macros=[('ENABLE_STRNATPMPERR', None)]
|
|
)]
|
|
)
|
|
|