Skip to content

Commit b68afa4

Browse files
committed
removed the subprocess32 dependency
1 parent efa99dc commit b68afa4

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

can/interfaces/socketcan/socketcan_common.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
import errno
1111
import struct
1212
import sys
13-
if False: # TODO (sys.version_info[0] < 3 and os.name == 'posix'):
14-
import subprocess32 as subprocess
15-
else:
16-
import subprocess
13+
import subprocess
1714
import re
1815

1916
from can.interfaces.socketcan.socketcan_constants import CAN_EFF_FLAG

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3",
5858
install_requires=[
5959
'wrapt ~= 1.10',
60-
] + (['subprocess32 ~= 3.2.7'] if version_info.major < 3 else []),
60+
],
6161
extras_require={
6262
'serial': ['pyserial >= 3.0'],
6363
'neovi': ['python-ics >= 2.8'],

0 commit comments

Comments
 (0)