File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 6
6
install_requires = [
7
7
'msgpack-python>=0.4.0' ,
8
8
]
9
+ extras_require = {}
10
+ entry_points = {}
9
11
10
12
if sys .version_info < (3 , 4 ):
11
13
# trollius is just a backport of 3.4 asyncio module
24
26
except ImportError :
25
27
pass
26
28
29
+ if sys .version_info < (3 , 0 ):
30
+ # Experimental GUI only supported for Python 2.
31
+ extras_require ['GUI' ] = ['click>=3.0' , 'cairo' , 'gobject' ]
32
+ entry_points ['console_scripts' ] = ['pynvim=neovim.ui.cli:main [GUI]' ]
33
+
27
34
setup (name = 'neovim' ,
28
35
version = '0.0.35' ,
29
36
description = 'Python client to neovim' ,
36
43
'neovim.msgpack_rpc.event_loop' , 'neovim.plugin' ],
37
44
install_requires = install_requires ,
38
45
ext_modules = cythonize ('neovim/ui/screen.py' ) if has_cython else None ,
39
- extras_require = {
40
- 'GUI' : ['click>=3.0' , 'cairo' , 'gobject' ]
41
- },
42
- entry_points = {
43
- 'console_scripts' : ['pynvim=neovim.ui.cli:main [GUI]' ],
44
- },
46
+ extras_require = extras_require ,
47
+ entry_points = entry_points ,
45
48
zip_safe = False )
You can’t perform that action at this time.
0 commit comments