-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (65 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (65 loc) · 1.86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[project]
name = "sofaman"
authors = [
{ name="Indukumar Vellapillil-Hari" }
]
description = "Model your architecture in an easy to understand language inspired by Yaml, and generate XMI (UML2) and PlantUML outputs."
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dynamic = [
"version",
]
dependencies = [
"lark >=1.2",
"session-info >=1.0.0,<2",
"jsonpickle",
"lxml",
"click"
]
[project.urls]
Homepage = "https://github.com/ivellapillil/sofaman"
Issues = "https://github.com/ivellapillil/sofaman/issues"
[project.scripts]
sofaman = "sofaman.sofamangen:generate"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.pixi.project]
name = "sofaman"
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
[tool.pixi.pypi-dependencies]
sofaman = { path = ".", editable = true }
[tool.pixi.tasks]
start = "main"
[tool.pixi.environments]
test = ["test"]
doc = ["doc"]
build = ["build"]
[tool.pixi.feature.test.dependencies]
pytest = "*"
pytest-cov = "*"
pytest-mock = "*"
[tool.pixi.feature.test.tasks]
test = "pytest --doctest-modules --junitxml=test-results/test-results.xml --cov=sofaman tests --cov-report=xml:test-results/coverage/coverage.xml --cov-report=html:test-results/coverage/html"
test-debug = "pytest --trace"
coverage = "pytest --cov=sofaman tests"
[tool.pixi.feature.doc.dependencies]
sphinx = "*"
sphinx-book-theme = "*"
myst-parser = "*"
[tool.pixi.feature.doc.tasks]
doc = "sphinx-build -M html docs/source docs/build"
[tool.pixi.feature.build.dependencies]
hatch = "*"
[tool.pixi.feature.build.tasks]
build = "hatch clean && hatch build"
publish = "hatch publish -r https://test.pypi.org/legacy/"
[tool.hatch.version]
source = "vcs"