Skip to content

Commit 34083a2

Browse files
authored
[PR-168] Remove dependency on future (#168)
Currently the python-future package is only used to provide `input`. However, `six` is also used within the source code for python2 compatibility. Replace the usage of `future` with `six` to trim the required dependencies. python-future also does not provide built wheels, so removing it means that this package and all it's dependencies can be fetched as wheels without running any local build steps.
1 parent 2a4eb7c commit 34083a2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

examples/pylink-rtt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import pylink
2828
import argparse
2929
import sys
3030
import time
31-
from builtins import input
31+
from six.moves import input
3232

3333
try:
3434
import thread

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
behave == 1.2.5
22
coverage == 4.4.1
3-
future
43
psutil >= 5.2.2
54
pycodestyle >= 2.3.1
65
six

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ def long_description():
261261
# Dependencies.
262262
install_requires=[
263263
'psutil >= 5.2.2',
264-
'future',
265264
'six'
266265
],
267266

0 commit comments

Comments
 (0)