Codebase list python-procrunner / ff63f36
add six dependency Markus Gerstel 6 years ago
3 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
55 import logging
66 import os
77 import select
8 import six
89 import subprocess
910 import time
1011 import timeit
11 from cStringIO import StringIO
1212 from multiprocessing import Pipe
1313 from threading import Thread
1414
9090 '''Reads a stream in a thread to avoid blocking/deadlocks'''
9191 def __init__(self, stream, output=True, debug=False, notify=None, callback=None):
9292 '''Creates and starts a thread which reads from a stream.'''
93 self._buffer = StringIO()
93 self._buffer = six.StringIO()
9494 self._closed = False
9595 self._closing = False
9696 self._debug = debug
44 flake8==3.5.0
55 tox==2.9.1
66 coverage==4.5.1
7 six
78 Sphinx==1.7.1
89 twine==1.10.0
910
1212
1313 requirements = [ ]
1414
15 setup_requirements = ['pytest-runner', ]
15 setup_requirements = ['pytest-runner', 'six']
1616
1717 test_requirements = ['mock', 'pytest']
1818