forked from wookayin/gpustat-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (51 loc) · 1.52 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
"""setup.py for gpustat-web."""
# flake8: noqa
from setuptools import setup
import sys
install_requires = [
'six>=1.7',
'termcolor',
'ansi2html',
'asyncssh>=1.16.0',
'aiohttp>=3.6.3', # GH-19
'aiohttp_jinja2>=1.5', # v1.5+ supports jinja2 v3.0
'jinja2>=3.0.0',
'aiohttp-devtools>=0.8',
]
tests_requires = [
'pytest',
]
def read_readme():
with open('README.md', encoding='utf-8') as f:
return f.read()
setup(
name='gpustat-web',
version='0.4.0.dev0',
license='MIT',
description='A web interface of gpustat --- consolidate status across multiple nodes.',
long_description=read_readme(),
long_description_content_type='text/markdown',
url='https://github.com/wookayin/gpustat-web',
author='Jongwook Choi',
author_email='wookayin@gmail.com',
keywords='nvidia-smi gpu cuda monitoring gpustat',
classifiers=[
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: System :: Monitoring',
],
packages=['gpustat_web'],
entry_points={
'console_scripts': ['gpustat-web=gpustat_web:main']
},
install_requires=install_requires,
extras_require={'test': tests_requires},
setup_requires=['pytest-runner'],
tests_require=tests_requires,
include_package_data=True,
zip_safe=False,
python_requires='>=3.6',
)