2024-04-30 13:33:13 +00:00
|
|
|
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',
|
2024-04-30 14:00:59 +00:00
|
|
|
version="11.5.0+CLORE",
|
2024-04-30 13:33:13 +00:00
|
|
|
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="rzamora@nvidia.com",
|
|
|
|
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',
|
|
|
|
],
|
|
|
|
)
|