forked from IntelPython/dpbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 890 Bytes
/
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
# Copyright 2022 Intel Corporation
#
# SPDX-License-Identifier: Apache 2.0
#!/usr/bin/env python
import dpctl
from setuptools import find_packages
from skbuild import setup
dpctl_include_dir = dpctl.get_include()
setup(
name="dpbench",
version="0.0.1",
url="https://https://github.com/IntelPython/dpbench",
author="Intel Corp.",
author_email="[email protected]",
description="dpBench",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache 2.0 License",
"Operating System :: Linux",
],
packages=(
find_packages(include=["*"])
+ find_packages(where="./dpbench/benchmarks/*/*")
),
python_requires=">=3.8",
include_package_data=True,
install_requires=[
"numpy",
"numba",
],
cmake_args=["-DDpctl_INCLUDE_DIRS=" + dpctl_include_dir],
)