|
10 | 10 | from distutils.spawn import find_executable
|
11 | 11 | from distutils import log
|
12 | 12 | from platform import architecture
|
13 |
| -from subprocess import Popen, CalledProcessError, PIPE, check_call, check_output |
| 13 | +from subprocess import Popen, CalledProcessError, PIPE, check_call |
14 | 14 | from glob import glob
|
15 | 15 | import fnmatch
|
16 | 16 | import sys
|
@@ -155,8 +155,8 @@ def build_extension(self, ext):
|
155 | 155 | enable_shared = get_config_var("Py_ENABLE_SHARED")
|
156 | 156 | if enable_shared:
|
157 | 157 | # Double-check if libpython is linked dynamically with python
|
158 |
| - lddout = check_output(["ldd", sys.executable]) |
159 |
| - if b'libpython' not in lddout: |
| 158 | + lddout = _check_output(["ldd", sys.executable]) |
| 159 | + if 'libpython' not in lddout: |
160 | 160 | enable_shared = False
|
161 | 161 |
|
162 | 162 | if not enable_shared:
|
@@ -339,11 +339,10 @@ def _get_interop_filename():
|
339 | 339 | author="Python for .Net developers",
|
340 | 340 | classifiers=[
|
341 | 341 | 'Programming Language :: Python :: 2.7',
|
342 |
| - 'Programming Language :: Python :: 3.2', |
343 | 342 | 'Programming Language :: Python :: 3.3',
|
344 | 343 | 'Programming Language :: Python :: 3.4',
|
345 | 344 | 'Programming Language :: Python :: 3.5',
|
346 |
| - 'Programming Language :: Python :: 3.6', |
| 345 | + 'Programming Language :: Python :: 3.6', |
347 | 346 | 'Programming Language :: C#',
|
348 | 347 | 'License :: OSI Approved :: Zope Public License',
|
349 | 348 | 'Development Status :: 5 - Production/Stable',
|
|
0 commit comments