Skip to content

Commit c55f770

Browse files
author
Kin Long Kelvin Lee
committed
setup: migrating setup configuration to pyproject.toml
Signed-off-by: Kin Long Kelvin Lee <kin.long.kelvin.lee@intel.com>
1 parent 606c357 commit c55f770

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Copyright (C) 2024 Intel Corporation
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
[build-system]
4+
build-backend = "setuptools.build_meta"
5+
requires = ["setuptools >= 61.0"]
6+
7+
[project]
8+
authors = [
9+
{"name" = "S. John Pennycook", "email" = "john.pennycook@intel.com"},
10+
]
11+
description = "Code Base Investigator"
12+
version = "1.2.0"
13+
dynamic = ["readme"]
14+
keywords = ["performance", "portability", "productivity"]
15+
name = "codebasin"
16+
requires-python = ">=3.9"
17+
classifiers = [
18+
"Development Status :: 5 - Production/Stable",
19+
"Environment :: Console",
20+
"Intended Audience :: Developers",
21+
"License :: OSI Approved :: BSD License",
22+
"Programming Language :: Python",
23+
"Programming Language :: Python :: 3",
24+
"Programming Language :: Python :: 3.12",
25+
"Topic :: Software Development",
26+
]
27+
dependencies = [
28+
"numpy==1.26.0",
29+
"matplotlib==3.8.2",
30+
"pathspec==0.12.1",
31+
"pyyaml==6.0.1",
32+
"scipy==1.12.0",
33+
"jsonschema==4.21.1",
34+
]
35+
36+
[project.urls]
37+
"Github" = "https://www.github.com/intel/code-base-investigator"
38+
"Issues" = "https://www.github.com/intel/code-base-investigator/issues"
39+
"Pull requests" = "https://www.github.com/intel/code-base-investigator/pulls"
40+
41+
[project.optional-dependencies]
42+
dev = [
43+
"sphinx",
44+
"sphinx-gallery",
45+
"pre-commit",
46+
]
47+
48+
[tool.setuptools]
49+
# TODO this practice is deprecated and will need updating later
50+
script-files = ["bin/codebasin"]
51+
include-package-data = true
52+
53+
[tool.setuptools.packages.find]
54+
where = ["."]
55+
include = ["codebasin*"]
56+
57+
[tool.setuptools.dynamic]
58+
readme = {file = ["README.md"]}

0 commit comments

Comments
 (0)