-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·90 lines (82 loc) · 2.95 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for jupyter_nbextensions_configurator."""
from __future__ import print_function
import os
from glob import glob
from setuptools import find_packages, setup
def main():
setup(
name='jupyter_nbextensions_configurator',
description=("jupyter serverextension providing configuration "
"interfaces for nbextensions."),
long_description="""
The jupyter_nbextensions_configurator jupyter server extension provides
graphical user interfaces for configuring which nbextensions are enabled (load
automatically for every notebook), and display their readme files.
In addition, for nbextensions which include an appropriate yaml descriptor
file, the interface also provides controls to configure the nbextensions'
options.
""",
version='0.4.0',
author='jcb91, jupyter-contrib developers',
author_email='[email protected]',
url=('https://github.com/'
'jupyter-contrib/jupyter_nbextensions_configurator'),
download_url=('https://github.com/'
'jupyter-contrib/jupyter_nbextensions_configurator/'
'tarball/0.4.0'),
keywords=['Jupyter', 'notebook'],
license='BSD 3-clause',
platforms=['any'],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
py_modules=[
os.path.splitext(os.path.basename(path))[0]
for path in glob('src/*.py')
],
install_requires=[
'jupyter_contrib_core >=0.3.3',
'jupyter_core',
'notebook >=4.0',
'pyyaml',
'tornado',
'traitlets',
],
extras_require={
'test': [
'jupyter_contrib_core[testing_utils]',
'nose',
'requests',
'selenium',
],
'test:python_version == "2.7"': [
'mock',
],
},
# we can't be zip safe as we require templates etc to be accessible to
# jupyter server
zip_safe=False,
entry_points={
'console_scripts': [
'jupyter-nbextensions_configurator = jupyter_nbextensions_configurator.application:main', # noqa
],
},
scripts=[os.path.join('scripts', p) for p in [
'jupyter-nbextensions_configurator',
]],
classifiers=[
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: JavaScript',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
],
)
if __name__ == '__main__':
main()