Skip to content

Commit

Permalink
setup.py: Add optional GUI dependencies.
Browse files Browse the repository at this point in the history
Resolves #115.
  • Loading branch information
fwalch committed May 4, 2015
1 parent 618fcd0 commit d8830e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from setuptools import setup

install_requires = [
'click>=3.0',
'msgpack-python>=0.4.0',
]

Expand Down Expand Up @@ -37,8 +36,10 @@
'neovim.msgpack_rpc.event_loop', 'neovim.plugin'],
install_requires=install_requires,
ext_modules=cythonize('neovim/ui/screen.py') if has_cython else None,
entry_points='''
[console_scripts]
pynvim=neovim.ui.cli:main
''',
extras_require={
'GUI': ['click>=3.0', 'cairo', 'gobject']
},
entry_points={
'console_scripts': ['pynvim=neovim.ui.cli:main [GUI]'],
},
zip_safe=False)

0 comments on commit d8830e8

Please sign in to comment.