-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
43 lines (39 loc) · 1.01 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import shutil
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'nbsearch', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup_args = dict(name='nbsearch',
version=VERSION_NS['__version__'],
description='NBSearch Jupyter Extension',
author='NII',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
platforms=['Jupyter Notebook 6.x'],
install_requires=[
'notebook>=6.5.4',
'tornado',
'requests',
'traitlets',
'python-dateutil',
'aioboto3',
'mistletoe',
'pytz',
],
extras_require={
'test': [
'mock',
],
},
entry_points={
'console_scripts': [
'jupyter-nbsearch = nbsearch.extensionapp:main'
]
},
)
if __name__ == '__main__':
setup(**setup_args)