This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
54 lines (48 loc) · 1.74 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
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
import os
import sys
from setuptools import setup
# Get location of this file at runtime
HERE = os.path.abspath(os.path.dirname(__file__))
# Eval the version tuple and string from the source
VERSION_NS = {}
with open(os.path.join(HERE, 'nb2kg', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
install_requires=[
'notebook>=4.2.0,<6.0',
]
setup_args = dict(
name='nb2kg',
author='Jupyter Development Team',
author_email='[email protected]',
description='Extension for Jupyter Notebook 4.2.x to enable remote kernels hosted by Kernel Gateway or Enterprise Gateway',
long_description = '''\
NB2KG is a Jupyter Notebook extension for versions >= 4.2 that enables remote kernels hosted
by `Jupyter Kernel Gateway <https://pypi.org/project/jupyter_kernel_gateway>`_
or `Jupyter Enterprise Gateway <https://pypi.org/project/jupyter_enterprise_gateway>`_.
See `README <https://github.com/jupyter-incubator/nb2kg>`_ for more information.
''',
url='https://github.com/jupyter-incubator/nb2kg',
version=VERSION_NS['__version__'],
license='BSD',
platforms=['Jupyter Notebook 4.2.x'],
packages=[
'nb2kg'
],
include_package_data=True,
scripts=[
],
install_requires=install_requires,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
if __name__ == '__main__':
setup(**setup_args)