-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (38 loc) · 1.6 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
from Cython.Distutils import build_ext
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
core = Extension('detect_simd.core',
sources=['detect_simd/src/detect_simd.c'])
setup(name = 'detect_simd',
packages = ["detect_simd"],
version = '0.2',
license = 'MIT',
license_file = "LICENSE.md",
description = "Python library to detect CPU SIMD capabilities.",
author = "Cristian Bicheru",
author_email = "[email protected]",
maintainer = "Cristian Bicheru",
maintainer_email ="[email protected]",
download_url = 'https://github.com/cristian-bicheru/detect-simd/archive/v0.2.tar.gz',
keywords = ['cpu', 'detect', 'simd', 'python3', 'sse', 'avx', 'avx2', 'avx512', 'fma'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: System :: Hardware',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
project_urls = {
'Documentation': 'https://detect-simd.readthedocs.io/',
'Bug Reports': 'https://github.com/cristian-bicheru/detect-simd/issues',
'Source': 'https://github.com/cristian-bicheru/detect-simd',
},
cmdclass = {'build_ext': build_ext},
ext_modules=[core])