-
Notifications
You must be signed in to change notification settings - Fork 288
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (52 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
61 lines (52 loc) · 1.8 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "KratosDEMApplication"
description = """
KRATOS Multiphysics ("Kratos") is a framework for building parallel,
multi-disciplinary simulation software, aiming at modularity,
extensibility, and high performance. Kratos is written in C++,
and counts with an extensive Python interface.
"""
readme = {"file" = "README.md", "content-type" = "text/markdown"}
license = {text = "BSD-4-Clause"}
authors = [
{name="Kratos Team", email="kratos@listas.cimne.upc.edu"}
]
requires-python = ">=3.8"
dependencies = [
"KratosMultiphysics=={env:KRATOS_VERSION}"
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Topic :: Scientific/Engineering"
]
dynamic = ["version"]
# List of binaries for this application
# (This is a Kratos build script extension and will not work with python build)
[kratos]
libs = ["KratosDEMApplication.*", "KratosDEMCore.*", "libKratosDEMCore.*"]
# Wheel (py and stubs)
[tool.hatch.build.targets.wheel]
include = [
"KratosMultiphysics/DEMApplication/**/*.py*"
]
# # Hook to Build Properties
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
# Wheel (dll, so, binary dependencies)
[tool.hatch.build.targets.wheel.force-include]
libs = "KratosMultiphysics/.libs"
# Editable (py and stubs)
[tool.hatch.build.targets.editable]
include = [
"KratosMultiphysics/DEMApplication/**/*.py*"
]
# Editable (dll, so, binary dependencies)
[tool.hatch.build.targets.editable.force-include]
libs = "KratosMultiphysics/.libs"
# Hook to Metadata
[tool.hatch.metadata.hooks.custom]
path = "hatch_build.py"