forked from pyccel/pyccel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (64 loc) · 1.57 KB
/
pyproject.toml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[build-system]
requires = ["hatchling",]
build-backend = "hatchling.build"
[project]
name = "pyccel"
dynamic = ["version"]
readme = "README.md"
license = "MIT"
requires-python = ">= 3.8"
authors = [
{ name = "Pyccel development team" },
]
keywords = [
"math",
]
dependencies = [
"filelock >= 3.4.0",
"numpy >= 1.16, != 2.0.*",
"sympy >= 1.2",
"termcolor >= 1.0.0",
"textx >= 2.2",
"astunparse >= 1.6.0", # astunparse is only needed for Python3.8, we should use ast.unparse when we drop Python3.8.
"packaging",
]
[project.optional-dependencies]
test = [
"coverage >= 3.1",
"mpi4py >= 3.0.0",
"pytest >= 7.0",
"pytest-xdist >= 1.16",
"scipy >= 1.5.0",
"tblib >= 1.7.0",
]
[project.scripts]
pyccel = "pyccel.commands.console:pyccel"
pyccel-clean = "pyccel.commands.pyccel_clean:pyccel_clean_command"
pyccel-init = "pyccel.commands.pyccel_init:pyccel_init_command"
[project.urls]
Homepage = "https://github.com/pyccel/pyccel"
[tool.hatch.version]
path = "pyccel/version.py"
[tool.hatch.build.targets.wheel]
artifacts = [
"*.pyccel",
"pyccel/extensions/gFTL/install/GFTL-1.13/include/v2"
]
include = [
"pyccel/**/*.py",
"pyccel/**/*.pyh",
"pyccel/**/*.pyccel",
"pyccel/parser/grammar/*.tx",
"pyccel/stdlib/**/*.h",
"pyccel/stdlib/**/*.c",
"pyccel/stdlib/**/*.f90",
"pyccel/stdlib/**/*.inc",
"pyccel/extensions/STC/include"
]
exclude = [
"pyccel/extensions/STC/src",
"pyccel/extensions/STC/misc"
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "install_scripts/hook.py"
require-runtime-dependencies = true