forked from neovim/pynvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (40 loc) · 1.31 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
import platform
import sys
from setuptools import setup
install_requires = [
'msgpack>=0.5.0',
]
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup_requires = [
] + pytest_runner,
tests_require = [
'pytest>=3.4.0',
]
extras_require = {
'pyuv': ['pyuv>=1.0.0'],
'test': tests_require,
}
if platform.python_implementation() != 'PyPy':
# pypy already includes an implementation of the greenlet module
install_requires.append('greenlet')
if sys.version_info < (3, 8):
install_requires.append('typing-extensions')
setup(name='pynvim',
version='0.4.3',
description='Python client for Neovim',
url='http://github.com/neovim/pynvim',
download_url='https://github.com/neovim/pynvim/archive/0.4.3.tar.gz',
author='Thiago de Arruda',
author_email='[email protected]',
license='Apache',
packages=['pynvim', 'pynvim.api', 'pynvim.msgpack_rpc',
'pynvim.msgpack_rpc.event_loop', 'pynvim.plugin',
'neovim', 'neovim.api'],
python_requires=">=3.6",
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
extras_require=extras_require,
options={"bdist_wheel": {"universal": True}},
)