File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 44from setuptools import setup
55
66install_requires = [
7- 'click>=3.0' ,
87 'msgpack-python>=0.4.0' ,
98]
9+ gui_requires = [
10+ 'click>=3.0' ,
11+ 'cairo' ,
12+ 'gobject'
13+ ]
1014
1115if sys .version_info < (3 , 4 ):
1216 # trollius is just a backport of 3.4 asyncio module
1317 install_requires .append ('trollius' )
18+ gui_requires .append ('futures' )
1419
1520has_cython = False
1621if not platform .python_implementation () == 'PyPy' :
3742 'neovim.msgpack_rpc.event_loop' , 'neovim.plugin' ],
3843 install_requires = install_requires ,
3944 ext_modules = cythonize ('neovim/ui/screen.py' ) if has_cython else None ,
40- entry_points = '''
41- [console_scripts]
42- pynvim=neovim.ui.cli:main
43- ''' ,
45+ extras_require = {
46+ 'GUI' : gui_requires ,
47+ },
48+ entry_points = {
49+ 'console_scripts' : ['pynvim=neovim.ui.cli:main [GUI]' ],
50+ },
4451 zip_safe = False )
You can’t perform that action at this time.
0 commit comments