Skip to content

Commit ce0742b

Browse files
committed
Move config from setup.py to pyproject.toml
1 parent ec97862 commit ce0742b

File tree

2 files changed

+40
-21
lines changed

2 files changed

+40
-21
lines changed

pyproject.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,46 @@ requires = [
99
"versioneer-518"
1010
]
1111

12+
[project]
13+
authors = [{name = "Intel Corporation"}]
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Environment :: GPU",
17+
"Environment :: Plugins",
18+
"Intended Audience :: Developers",
19+
"License :: OSI Approved :: Apache Software License",
20+
"Operating System :: OS Independent",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: Implementation :: CPython",
23+
"Topic :: Software Development :: Compilers",
24+
"Operating System :: Microsoft :: Windows",
25+
"Operating System :: POSIX :: Linux"
26+
]
27+
description = "An extension for Numba to add data-parallel offload capability"
28+
dynamic = ["version"]
29+
keywords = [
30+
"sycl",
31+
"python3",
32+
"numba",
33+
"numpy",
34+
"intel",
35+
"mkl",
36+
"oneapi",
37+
"gpu",
38+
"dpcpp"
39+
]
40+
license = {text = "Apache 2.0"}
41+
name = "numba-dpex"
42+
readme = {file = "README.md", content-type = "text/markdown"}
43+
requires-python = ">=3.9"
44+
45+
[project.urls]
46+
Changelog = "https://github.com/IntelPython/numba-dpex/blob/main/CHANGELOG.md"
47+
Documentation = "https://intelpython.github.io/numba-dpex/"
48+
Homepage = "https://github.com/IntelPython/numba-dpex"
49+
Issues = "https://github.com/IntelPython/numba-dpex/issues"
50+
Repository = "https://github.com/IntelPython/numba-dpex.git"
51+
1252
[tool.black]
1353
exclude = "versioneer.py|numba_dpex/_version.py"
1454
line-length = 80

setup.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,7 @@ def to_cmake_format(version: str):
5959

6060
# Main setup
6161
setup(
62-
name="numba-dpex",
6362
version=__version__,
64-
description="An extension for Numba to add data-parallel offload capability",
65-
long_description=__readme__,
66-
long_description_content_type="text/markdown",
67-
license="Apache 2.0",
68-
classifiers=[
69-
"Development Status :: 4 - Beta",
70-
"Environment :: GPU",
71-
"Environment :: Plugins",
72-
"Intended Audience :: Developers",
73-
"License :: OSI Approved :: Apache Software License",
74-
"Operating System :: OS Independent",
75-
"Programming Language :: Python :: 3",
76-
"Programming Language :: Python :: Implementation :: CPython",
77-
"Topic :: Software Development :: Compilers",
78-
],
79-
keywords="sycl python3 numba numpy intel mkl oneapi gpu dpcpp",
80-
platforms=["Linux", "Windows"],
81-
author="Intel Corporation",
82-
url="https://github.com/IntelPython/numba-dpex",
83-
install_requires=["numba >={0:s}".format("0.58"), "dpctl", "packaging"],
8463
packages=find_packages("."),
8564
include_package_data=True,
8665
zip_safe=False,

0 commit comments

Comments
 (0)