Moving to setuptools to enable wheel

This commit is contained in:
Vladimir Sapronov 2015-07-08 09:21:35 -04:00
parent 24307d2951
commit ce56baf81e

View File

@ -6,7 +6,7 @@
# python script to build the miniupnpc module under unix # python script to build the miniupnpc module under unix
# #
# replace libminiupnpc.a by libminiupnpc.so for shared library usage # replace libminiupnpc.a by libminiupnpc.so for shared library usage
from distutils.core import setup, Extension from setuptools import setup, Extension
from distutils import sysconfig from distutils import sysconfig
sysconfig.get_config_vars()["OPT"] = '' sysconfig.get_config_vars()["OPT"] = ''
sysconfig.get_config_vars()["CFLAGS"] = '' sysconfig.get_config_vars()["CFLAGS"] = ''