-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 887 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 887 Bytes
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
from setuptools import setup, Extension
tinymlinference = Extension(
"tinymlinference",
sources=["src/c/inference_module.c"],
extra_compile_args=["-O2", "-Wall"],
libraries=["m"],
)
with open("README.md") as f:
long_description = f.read()
setup(
name="tinymlinference",
version="1.0.0",
description="Generic neural network inference engine in pure C — callable from Python",
long_description=long_description,
long_description_content_type="text/markdown",
author="Odeliya Charitonova",
url="https://github.com/odeliyach/tiny-ml-runtime",
ext_modules=[tinymlinference],
python_requires=">=3.8",
classifiers=[
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
],
)