File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
neovim/msgpack_rpc/event_loop Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,11 @@ def _connect_child(self, argv):
73
73
flags = pyuv .UV_CREATE_PIPE + pyuv .UV_WRITABLE_PIPE )
74
74
stderr = pyuv .StdIO (self ._error_stream ,
75
75
flags = pyuv .UV_CREATE_PIPE + pyuv .UV_WRITABLE_PIPE )
76
- self ._process = pyuv .Process (self ._loop )
77
- self ._process .spawn (file = argv [0 ],
78
- exit_callback = self ._on_exit ,
79
- args = argv [1 :],
80
- flags = pyuv .UV_PROCESS_WINDOWS_HIDE ,
81
- stdio = (stdin , stdout , stderr ,))
76
+ pyuv .Process .spawn (self ._loop ,
77
+ args = argv ,
78
+ exit_callback = self ._on_exit ,
79
+ flags = pyuv .UV_PROCESS_WINDOWS_HIDE ,
80
+ stdio = (stdin , stdout , stderr ,))
82
81
self ._error_stream .start_read (self ._on_read )
83
82
84
83
def _start_reading (self ):
Original file line number Diff line number Diff line change 7
7
install_requires = [
8
8
'msgpack-python>=0.4.0' ,
9
9
]
10
+ extras_require = {
11
+ 'pyuv' : ['pyuv>=1.0.0' ],
12
+ }
10
13
11
14
if os .name == 'nt' :
12
- install_requires .append ('pyuv' )
15
+ install_requires .append ('pyuv>=1.0.0 ' )
13
16
elif sys .version_info < (3 , 4 ):
14
17
# trollius is just a backport of 3.4 asyncio module
15
18
install_requires .append ('trollius' )
29
32
packages = ['neovim' , 'neovim.api' , 'neovim.msgpack_rpc' ,
30
33
'neovim.msgpack_rpc.event_loop' , 'neovim.plugin' ],
31
34
install_requires = install_requires ,
35
+ extras_require = extras_require ,
32
36
zip_safe = False )
You can’t perform that action at this time.
0 commit comments