aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/setup.py
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2018-04-19 06:28:55 +0000
committeranonimal <anonimal@i2pmail.org>2018-04-19 10:55:29 +0000
commit10685648677d9df6230b6b60a580f2ba8481d0a0 (patch)
tree25b33ba309f38f03b27c862d48bf49a8ebb9b853 /external/miniupnpc/setup.py
parentMerge pull request #3606 (diff)
downloadmonero-10685648677d9df6230b6b60a580f2ba8481d0a0.tar.xz
Build: remove in-tree miniupnpc
Will be replaced by a submodule. (cherry picked from commit e962216678e699a8fc7eb271a8a515f5ca65f7cb)
Diffstat (limited to 'external/miniupnpc/setup.py')
-rwxr-xr-xexternal/miniupnpc/setup.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/external/miniupnpc/setup.py b/external/miniupnpc/setup.py
deleted file mode 100755
index 24a676d85..000000000
--- a/external/miniupnpc/setup.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /usr/bin/python
-# vim: tabstop=8 shiftwidth=8 expandtab
-# $Id: setup.py,v 1.9 2012/05/23 08:50:10 nanard Exp $
-# the MiniUPnP Project (c) 2007-2017 Thomas Bernard
-# http://miniupnp.tuxfamily.org/ or http://miniupnp.free.fr/
-#
-# python script to build the miniupnpc module under unix
-#
-# Uses MAKE environment variable (defaulting to 'make')
-
-from setuptools import setup, Extension
-from setuptools.command import build_ext
-import subprocess
-import os
-
-EXT = ['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=[
- Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
- extra_objects=EXT)
- ])
-