-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
37 lines (34 loc) · 1.11 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
"""Setup information"""
import setuptools
from Cython.Build import cythonize
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
EXTENSIONS = [
setuptools.Extension(
name="pyamdgpuinfo._pyamdgpuinfo",
sources=["pyamdgpuinfo/_pyamdgpuinfo.pyx"],
include_dirs=["/usr/include/libdrm"],
libraries=["drm_amdgpu"],
)
]
setuptools.setup(
name="pyamdgpuinfo",
version="2.1.6",
author="mark9064",
description="AMD GPU stats",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/mark9064/pyamdgpuinfo",
packages=setuptools.find_packages(),
python_requires=">=3.8",
ext_modules=cythonize(EXTENSIONS, language_level="3str"),
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Cython",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
],
)