-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
32 lines (27 loc) · 952 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
from distutils.core import setup
with open('README.md') as f:
data = f.read()
try:
import pypandoc
description = pypandoc.convert(data, 'rst', format='markdown')
except ImportError:
print("pypandoc conversion failed, readme will not be rendered on PyPI")
print("(You can ignore this if you're only doing local development)")
description = data
extras_requires = {
':sys_platform == "win32"': ['pyreadline>=2'],
':sys_platform == "darwin" and platform_python_implementation == "CPython"': ['gnureadline'],
}
setup(
name='rlipython',
version='0.1.2',
packages=['rlipython',],
install_requires=["ipython>5.3"],
extras_requires=extras_requires,
license='BSD',
author='The IPython Development Team',
author_email='[email protected]',
url='https://github.com/ipython/rlipython',
description="readline integration for IPython 5.4+ and 6.0+",
long_description=description
)