We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47983d0 commit eeb987bCopy full SHA for eeb987b
setup.py
@@ -1,5 +1,20 @@
1
+import platform
2
+import sys
3
+
4
from setuptools import setup
5
6
+install_requires = [
7
+ 'msgpack-python',
8
+]
9
10
+if sys.version_info < (3, 4):
11
+ # trollius is just a backport of 3.4 asyncio module
12
+ install_requires.append('trollius')
13
14
+if not platform.python_implementation() == 'PyPy':
15
+ # pypy already includes an implementation of the greenlet module
16
+ install_requires.append('greenlet')
17
18
setup(name='neovim',
19
version='0.0.17',
20
description='Python client to neovim',
@@ -9,9 +24,5 @@
24
author_email='[email protected]',
25
license='MIT',
26
packages=['neovim'],
- install_requires=[
- 'greenlet',
- 'msgpack-python',
- 'pyuv',
- ],
27
+ install_requires=install_requires,
28
zip_safe=False)
0 commit comments