Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd06501

Browse files
committed
Update setup.py classifiers and tests
- Remove py32 classifier - Stop testing on unsupported python versions - Add python33 testing - Changed check_output to _check_output
1 parent dd3e5dd commit dd06501

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sudo: required
22
language: python
33
python:
44
- 2.7
5-
- 3.2
5+
- 3.3
66
- 3.4
77
- 3.5
88
- 3.6

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from distutils.spawn import find_executable
1111
from distutils import log
1212
from platform import architecture
13-
from subprocess import Popen, CalledProcessError, PIPE, check_call, check_output
13+
from subprocess import Popen, CalledProcessError, PIPE, check_call
1414
from glob import glob
1515
import fnmatch
1616
import sys
@@ -155,8 +155,8 @@ def build_extension(self, ext):
155155
enable_shared = get_config_var("Py_ENABLE_SHARED")
156156
if enable_shared:
157157
# 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:
160160
enable_shared = False
161161

162162
if not enable_shared:
@@ -339,11 +339,10 @@ def _get_interop_filename():
339339
author="Python for .Net developers",
340340
classifiers=[
341341
'Programming Language :: Python :: 2.7',
342-
'Programming Language :: Python :: 3.2',
343342
'Programming Language :: Python :: 3.3',
344343
'Programming Language :: Python :: 3.4',
345344
'Programming Language :: Python :: 3.5',
346-
'Programming Language :: Python :: 3.6',
345+
'Programming Language :: Python :: 3.6',
347346
'Programming Language :: C#',
348347
'License :: OSI Approved :: Zope Public License',
349348
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)