forked from prompt-toolkit/ptpython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (36 loc) · 1.06 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
long_description = open(
os.path.join(
os.path.dirname(__file__),
'README.rst'
)
).read()
setup(
name='ptpython',
author='Jonathan Slenders',
version='0.41',
url='https://github.com/jonathanslenders/ptpython',
description='Python REPL build on top of prompt_toolkit',
long_description=long_description,
packages=find_packages('.'),
install_requires = [
'docopt',
'jedi>=0.9.0',
'prompt_toolkit>=1.0.14,<2.0.0',
'pygments',
],
entry_points={
'console_scripts': [
'ptpython = ptpython.entry_points.run_ptpython:run',
'ptipython = ptpython.entry_points.run_ptipython:run',
'ptpython%s = ptpython.entry_points.run_ptpython:run' % sys.version_info[0],
'ptipython%s = ptpython.entry_points.run_ptipython:run' % sys.version_info[0],
]
},
extras_require={
'ptipython': ['ipython'] # For ptipython, we need to have IPython
}
)