-
Notifications
You must be signed in to change notification settings - Fork 305
/
setup.py
70 lines (66 loc) · 2.24 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import pathlib
from setuptools import setup
from setupbase import (
get_version, find_packages
)
here = pathlib.Path('.')
version_path = here.joinpath('jupyter_server', '_version.py')
VERSION = get_version(str(version_path))
readme_path = here.joinpath('README.md')
README = readme_path.read_text()
setup_args = dict(
name = 'jupyter_server',
description = 'The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications.',
long_description = README,
version = VERSION,
packages = find_packages('.'),
include_package_data = True,
author = 'Jupyter Development Team',
author_email = '[email protected]',
url = 'http://jupyter.org',
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
keywords = ['ipython', 'jupyter'],
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
install_requires = [
'jinja2',
'tornado>=5.0',
'pyzmq>=17',
'ipython_genutils',
'traitlets>=4.2.1',
'jupyter_core>=4.4.0',
'jupyter_client>=6.1.1',
'nbformat',
'nbconvert',
'Send2Trash',
'terminado>=0.8.3',
'prometheus_client',
"pywin32>=1.0 ; sys_platform == 'win32'"
],
extras_require = {
'test': ['nose', 'coverage', 'requests', 'nose_warnings_filters',
'pytest', 'pytest-cov', 'pytest-tornasync',
'pytest-console-scripts', 'ipykernel'],
'test:sys_platform == "win32"': ['nose-exclude'],
},
python_requires = '>=3.6',
entry_points = {
'console_scripts': [
'jupyter-server = jupyter_server.serverapp:main',
],
'pytest11': [
'pytest_jupyter_server = jupyter_server.pytest_plugin'
]
},
)
if __name__ == '__main__':
setup(**setup_args)