-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (33 loc) · 1.08 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
[project]
name = "ctgen"
version = "0.1.0"
description = "Coordinate-transforms code generator"
authors = [
{ name = "Marco Frigerio", email = "[email protected]" }
]
license = { file = "LICENSE" }
readme = "readme.md"
requires-python = ">=3.4"
dependencies = [
"numpy",
"sympy",
"lupa",
"pyyaml",
"kgprim >= 0.1.1"
]
urls = { home= "https://github.com/mfrigerio17/ctgen" }
[project.scripts]
ctgen = "ctgen.gen:main"
[tool.setuptools]
packages = ["ctgen", "ctgen_backends.cpp_iitrbd", "ctgen_backends.octave"]
[tool.setuptools.package-dir]
"ctgen" = "src/ctgen"
#"ctgen_backends" = "backends/cpp_iitrbd/src/ctgen_backends/"
#"ctgen_backends" = "backends/octave/src/ctgen_backends/"
## How to make the above work? I want the installation to include
## modules that belong to the namespace package, but are stored in
## separate folders
"ctgen_backends.cpp_iitrbd" = "backends/cpp_iitrbd/src/ctgen_backends/cpp_iitrbd"
"ctgen_backends.octave" = "backends/octave/src/ctgen_backends/octave"
[tool.setuptools.package-data]
"*" = ["*.lua", "*/*.lua"]