-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·81 lines (72 loc) · 2.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for jupyter_contrib_core."""
from __future__ import print_function
import os
from glob import glob
from setuptools import find_packages, setup
def main():
setup(
name='jupyter_contrib_core',
description='Common utilities for jupyter-contrib projects.',
long_description="""
Common utilities for jupyter-contrib projects. Includes:
- providing a notebook-4.2-compatible nbextension API in order to
smooth over differences in versions 4.0 and 4.1
- common application components and cli scripts
- utility classes and functions for use in tests
""",
version='0.4.2',
author='jcb91, jupyter-contrib developers',
author_email='joshuacookebarnes@gmail.com',
url=('https://github.com/'
'jupyter-contrib/jupyter_contrib_core'),
download_url=('https://github.com/'
'jupyter-contrib/jupyter_contrib_core/'
'tarball/0.4.2'),
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_core',
'notebook >=4.0',
'setuptools',
'traitlets',
'tornado',
],
extras_require={
'testing_utils': [
'nose',
],
'testing_utils:python_version == "2.7"': [
'mock',
],
},
# so far zip-safe as we're pure python
zip_safe=True,
entry_points={
'console_scripts': [
'jupyter-contrib = jupyter_contrib_core.application:main', # noqa
],
},
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()