Diff for /embedaddon/miniupnpc/setup.py between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 23:16:22 version 1.1.1.3, 2023/09/27 11:21:37
Line 1 Line 1
#! /usr/bin/python#! /usr/bin/env python
 # vim: tabstop=8 shiftwidth=8 expandtab
 # $Id$  # $Id$
# the MiniUPnP Project (c) 2007-2011 Thomas Bernard# the MiniUPnP Project (c) 2007-2021 Thomas Bernard
# http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/# https://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/
 #  #
 # 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# Uses MAKE environment variable (defaulting to 'make')
from distutils.core import setup, Extension
setup(name="miniupnpc", version="1.5",from setuptools import setup, Extension
 from setuptools.command import build_ext
 import subprocess
 import os
 
 EXT = ['build/libminiupnpc.a']
 
 class make_then_build_ext(build_ext.build_ext):
       def run(self):
             subprocess.check_call([os.environ.get('MAKE', 'make')] + EXT)
             build_ext.build_ext.run(self)
 
 setup(name="miniupnpc",
       version=open('VERSION').read().strip(),
       author='Thomas BERNARD',
       author_email='miniupnp@free.fr',
       license=open('LICENSE').read(),
       url='http://miniupnp.free.fr/',
       description='miniUPnP client',
       cmdclass={'build_ext': make_then_build_ext},
       ext_modules=[        ext_modules=[
                 Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],         Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"],
                                   extra_objects=["libminiupnpc.a"])                   include_dirs=['include'], extra_objects=EXT)
                         ])      ])
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


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