File tree 4 files changed +6
-20
lines changed
4 files changed +6
-20
lines changed Original file line number Diff line number Diff line change 22
22
os :
23
23
- ubuntu-20.04
24
24
python :
25
- - " 2.7 "
25
+ - " 3.5 "
26
26
- " 3.6"
27
27
- " 3.7"
28
28
- " 3.8"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,12 +33,11 @@ def run(self):
33
33
author = "Min RK" ,
34
34
35
35
description = "Capture C-level output in context managers" ,
36
- install_requires = ["selectors2; python_version<'3.4'" ],
37
36
long_description = long_description ,
38
37
long_description_content_type = "text/markdown" ,
39
38
url = "https://github.com/minrk/wurlitzer" ,
40
39
py_modules = ["wurlitzer" ],
41
- python_requires = ">=2.7 " ,
40
+ python_requires = ">=3.5 " ,
42
41
license = "MIT" ,
43
42
cmdclass = {
44
43
"bdist_egg" : bdist_egg if "bdist_egg" in sys .argv else bdist_egg_disabled
@@ -47,7 +46,6 @@ def run(self):
47
46
"Development Status :: 4 - Beta" ,
48
47
"Intended Audience :: Developers" ,
49
48
"License :: OSI Approved :: MIT License" ,
50
- "Programming Language :: Python :: 2.7" ,
51
49
"Programming Language :: Python :: 3" ,
52
50
],
53
51
)
Original file line number Diff line number Diff line change 18
18
import errno
19
19
import io
20
20
import os
21
- from contextlib import contextmanager
22
- from fcntl import F_GETFL , F_SETFL , fcntl
23
-
24
- try :
25
- from queue import Queue
26
- except ImportError :
27
- from Queue import Queue
28
-
29
- try :
30
- import selectors
31
- except ImportError :
32
- # py < 3.4
33
- import selectors2 as selectors
34
-
21
+ import selectors
35
22
import sys
36
23
import threading
37
24
import time
38
25
import warnings
26
+ from contextlib import contextmanager
27
+ from fcntl import F_GETFL , F_SETFL , fcntl
28
+ from queue import Queue
39
29
40
30
libc = ctypes .CDLL (None )
41
31
You can’t perform that action at this time.
0 commit comments