forked from gpuopenanalytics/pynvml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·41 lines (37 loc) · 1.53 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
from setuptools import setup, find_packages
from os import path
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# earlier versions don't support all classifiers
#if version < '2.2.3':
# from distutils.dist import DistributionMetadata
# DistributionMetadata.classifiers = None
# DistributionMetadata.download_url = None
setup(name='pynvml',
version='8.0.1',
python_requires='>=3.6',
description='Python Bindings for the NVIDIA Management Library',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=['notebooks', 'docs', 'tests']),
package_data={'pynvml': ['README.md','help_query_gpu.txt']},
license="BSD",
url="http://www.nvidia.com/",
author="NVIDIA Corporation",
author_email="[email protected]",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Hardware',
'Topic :: System :: Systems Administration',
],
)