forked from AMDResearch/Riallto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.75 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
46
47
48
49
50
51
52
53
54
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
"""This setup.py file is used to build the IPU Python package for the
Riallto project. It installs Python APIs for developers to build and
program the AMD IPU device. This package also includes a set of prebuilt
computer vision applications that can be used to run on the IPU.
Note
----
You can run prebuilt applications out of the box using this IPU Python
package, however in order to build your own applications you will need
to install Riallto using the full installer and additionally obtain
an AIEBuild license from https://www.xilinx.com/getlicense.
"""
from setuptools import find_packages, setup
setup(
name="npu",
version='1.0',
package_data={
'': ['*.py', '*.pyd', '*.so', '*.dll', 'Makefile', '.h', '.cpp',
'tests/*',
'runtime/*.so',
'runtime/*.dll',
'build/*.txt',
'utils/*',
'lib/applications/*',
'lib/kernels/*',
'lib/graphs/*',
'lib/kernels/cpp/*.cpp',
'lib/kernels/cpp/*.h',
'runtime/utils/*',
'build_template/check_license.sh',
'build_template/kernel_build.sh',
'build_template/seq_build.sh',
'build_template/app_build.sh',
'lib/applications/binaries/*'],
},
packages=find_packages(),
python_requires="==3.9.*",
install_requires=[
"numpy",
"pytest",
"pytest-cov",
"opencv-python",
"matplotlib",
"CppHeaderParser",
"jupyterlab",
"ipywidgets",
"pillow>=10.0.0"
],
description="Riallto is a simple framework for programming and interacting with the AMD IPU device.")