forked from neovim/python-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 996 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import platform
import sys
from setuptools import setup
install_requires = [
'neovim>=0.1.3',
'click>=3.0',
'pygobject'
]
ext_modules = None
# Cythonizing screen.py to improve scrolling/clearing speed. Maybe the
# performance can be improved even further by writing a screen.pxd with
# static type information
try:
from Cython.Build import cythonize
ext_modules = cythonize('neovim_gui/screen.py')
except ImportError:
pass
entry_points = {'console_scripts': ['pynvim=neovim_gui.cli:main'] }
setup(name='neovim_gui',
version='0.1.3',
description='Gtk gui for neovim',
url='http://github.com/neovim/python-gui',
download_url='https://github.com/neovim/python-gui/archive/0.1.3.tar.gz',
author='Thiago de Arruda',
author_email='tpadilha84@gmail.com',
license='Apache',
packages=['neovim_gui'],
install_requires=install_requires,
ext_modules=ext_modules,
entry_points=entry_points,
zip_safe=False)