Update to 1.7.0

Fix packaging with pyton support.
While here, remove the annoying sleeps at the end of the configure script.

PR:		221768
Submitted by:	Daniel Ylitalo <daniel AT blodan DOT se>
Committed at:	FreeBSD 201709 DevSummit
This commit is contained in:
Niclas Zeising
2017-09-21 15:04:49 +00:00
parent 8c5ca7a4dc
commit 6943564acd
5 changed files with 79 additions and 30 deletions

View File

@@ -1,16 +1,14 @@
--- bindings/python/setup.py.orig 2015-11-10 15:07:11 UTC
--- bindings/python/setup.py.orig 2017-03-10 18:03:11 UTC
+++ bindings/python/setup.py
@@ -28,12 +28,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
@@ -1,10 +1,7 @@
#!/usr/bin/env python
import os
-try:
- # Attempt to build using Distribute, which also supports bdist_wheel
- from setuptools import setup
- from setuptools.extension import Extension
- from setuptools import setup, Extension
-except ImportError:
- from distutils.core import setup, Extension
- sys.exit('The setup requires setuptools.')
+from distutils.core import setup, Extension
import sys, os
TOP_SRCDIR = os.environ.get('ABS_TOP_SRCDIR', '../..')
TOP_BUILDDIR = os.environ.get('ABS_TOP_BUILDDIR', '../..')