/
setup.py
45 lines (40 loc) · 1.34 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
import os
from os.path import dirname
from setuptools import setup, Extension
__version__ = open("VERSION", "r").read().strip()
__lib_name__ = "simsimd"
this_directory = os.path.abspath(dirname(__file__))
with open(os.path.join(this_directory, "README.md")) as f:
long_description = f.read()
"-march=armv8.2-a+sve"
"-march=sapphirerapids"
setup(
name=__lib_name__,
version=__version__,
author="Ashot Vardanian",
author_email="1983160+ashvardanian@users.noreply.github.com",
url="https://github.com/ashvardanian/simsimd",
description="SIMD-accelerated similarity measures for x86 and Arm",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache-2.0",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Linux",
"Programming Language :: C",
"Programming Language :: Python :: Implementation :: CPython",
],
ext_modules=[
Extension(
"simsimd",
sources=["python/python.c"],
include_dirs=["include"],
)
],
zip_safe=False,
python_requires=">=3.9",
)