-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
63 lines (57 loc) · 1.9 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
"""
NBTools is a collection of tools for using in notebooks and inspect running notebooks.
"""
import re
from setuptools import setup, find_packages
with open('nbtools/__init__.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='py-nbtools',
packages=find_packages(),
version=version,
url='https://github.com/analysiscenter/nbtools',
license='Apache License 2.0',
author='Sergey Tsimfer',
author_email='[email protected]',
description='A collection of tools for using inside Jupyter Notebooks',
long_description=long_description,
long_description_content_type="text/markdown",
zip_safe=False,
platforms='any',
install_requires=[
'pynvml>=11.5.0',
'blessed>=1.17',
'psutil>=5.6',
'requests>=2.24',
],
extras_require={
'nbrun': [
'ipython>=7.10.0',
'nbconvert>=5.6.1',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: System :: Monitoring',
],
entry_points={
'console_scripts': [
'nbstat = nbtools.nbstat.cli:nbstat',
'nbwatch = nbtools.nbstat.cli:nbwatch',
'devicestat = nbtools.nbstat.cli:devicestat',
'devicewatch = nbtools.nbstat.cli:devicewatch',
],
},
)