spl-core 4.3.0__py3-none-any.whl → 4.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spl_core/__init__.py +1 -1
- spl_core/common/command_line_executor.py +3 -0
- spl_core/kickstart/templates/project/README.md +15 -0
- spl_core-4.4.1.dist-info/METADATA +100 -0
- {spl_core-4.3.0.dist-info → spl_core-4.4.1.dist-info}/RECORD +8 -7
- spl_core-4.3.0.dist-info/METADATA +0 -74
- {spl_core-4.3.0.dist-info → spl_core-4.4.1.dist-info}/LICENSE +0 -0
- {spl_core-4.3.0.dist-info → spl_core-4.4.1.dist-info}/WHEEL +0 -0
- {spl_core-4.3.0.dist-info → spl_core-4.4.1.dist-info}/entry_points.txt +0 -0
spl_core/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "4.
|
|
1
|
+
__version__ = "4.4.1"
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import locale
|
|
1
2
|
import subprocess
|
|
3
|
+
import sys
|
|
2
4
|
from pathlib import Path
|
|
3
5
|
from typing import Dict, List, Optional
|
|
4
6
|
|
|
@@ -42,6 +44,7 @@ class CommandLineExecutor:
|
|
|
42
44
|
text=True,
|
|
43
45
|
env=self.env,
|
|
44
46
|
universal_newlines=True,
|
|
47
|
+
encoding="cp850" if (locale.getlocale()[0] == "de_DE" and sys.platform == "win32") else "utf-8",
|
|
45
48
|
) as process:
|
|
46
49
|
if process.stdout:
|
|
47
50
|
for line in process.stdout:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
This is a simple generated SPL project to get you started.
|
|
2
|
+
|
|
3
|
+
Install project dependencies:
|
|
4
|
+
|
|
5
|
+
```powershell
|
|
6
|
+
.\build.ps1 -install
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Build:
|
|
10
|
+
|
|
11
|
+
```powershell
|
|
12
|
+
.\build.ps1 -build
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
See more information [here](https://spl-core.readthedocs.io/en/latest/getting_started/generate_example_project.html).
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: spl-core
|
|
3
|
+
Version: 4.4.1
|
|
4
|
+
Summary: Software Product Line Support for CMake
|
|
5
|
+
Home-page: https://github.com/avengineers/spl-core
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: Avengineers
|
|
8
|
+
Author-email: karsten.guenther@kamg.de
|
|
9
|
+
Requires-Python: >=3.10,<3.12
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Natural Language :: English
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Requires-Dist: cookiecutter (==2.1.1)
|
|
20
|
+
Requires-Dist: doxysphinx (>=3.3.7,<4.0.0)
|
|
21
|
+
Requires-Dist: gcovr
|
|
22
|
+
Requires-Dist: hammocking
|
|
23
|
+
Requires-Dist: kconfiglib
|
|
24
|
+
Requires-Dist: py-app-dev (>=2.1.0,<3.0.0)
|
|
25
|
+
Requires-Dist: sphinx (>=7.3.5,<8.0.0)
|
|
26
|
+
Requires-Dist: sphinx-copybutton (>=0.5.2,<0.6.0)
|
|
27
|
+
Requires-Dist: sphinx-needs (>=2.0.0,<3.0.0)
|
|
28
|
+
Requires-Dist: sphinx-new-tab-link (>=0.4.0,<0.5.0)
|
|
29
|
+
Requires-Dist: sphinx-rtd-size (>=0.2.0,<0.3.0)
|
|
30
|
+
Requires-Dist: sphinx-rtd-theme (>=2.0.0,<3.0.0)
|
|
31
|
+
Requires-Dist: sphinx-test-reports (>=1.0.2,<2.0.0)
|
|
32
|
+
Requires-Dist: sphinxcontrib-datatemplates (>=0.11.0,<0.12.0)
|
|
33
|
+
Requires-Dist: sphinxcontrib-mermaid (>=0.9.2,<0.10.0)
|
|
34
|
+
Requires-Dist: sphinxcontrib-plantuml (>=0.29,<0.30)
|
|
35
|
+
Requires-Dist: typer[all] (>=0.12.3,<0.13.0)
|
|
36
|
+
Project-URL: Bug Tracker, https://github.com/avengineers/spl-core/issues
|
|
37
|
+
Project-URL: Changelog, https://github.com/avengineers/spl-core/blob/develop/CHANGELOG.md
|
|
38
|
+
Project-URL: Documentation, https://spl-core.readthedocs.io
|
|
39
|
+
Project-URL: Repository, https://github.com/avengineers/spl-core
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
|
|
42
|
+
# SPL (Software Product Line) Core
|
|
43
|
+
|
|
44
|
+
<p align="center">
|
|
45
|
+
<a href="https://github.com/avengineers/spl-core/actions/workflows/ci.yml?query=branch%3Adevelop">
|
|
46
|
+
<img src="https://img.shields.io/github/actions/workflow/status/avengineers/spl-core/ci.yml?branch=develop&label=CI&logo=github&style=flat-square" alt="CI Status" >
|
|
47
|
+
</a>
|
|
48
|
+
<a href="https://spl-core.readthedocs.io">
|
|
49
|
+
<img src="https://img.shields.io/readthedocs/spl-core.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
|
|
50
|
+
</a>
|
|
51
|
+
<a href="https://codecov.io/gh/avengineers/spl-core">
|
|
52
|
+
<img src="https://img.shields.io/codecov/c/github/avengineers/spl-core.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
|
|
53
|
+
</a>
|
|
54
|
+
</p>
|
|
55
|
+
<p align="center">
|
|
56
|
+
<a href="https://python-poetry.org/">
|
|
57
|
+
<img src="https://img.shields.io/badge/packaging-poetry-299bd7?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAASCAYAAABrXO8xAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJJSURBVHgBfZLPa1NBEMe/s7tNXoxW1KJQKaUHkXhQvHgW6UHQQ09CBS/6V3hKc/AP8CqCrUcpmop3Cx48eDB4yEECjVQrlZb80CRN8t6OM/teagVxYZi38+Yz853dJbzoMV3MM8cJUcLMSUKIE8AzQ2PieZzFxEJOHMOgMQQ+dUgSAckNXhapU/NMhDSWLs1B24A8sO1xrN4NECkcAC9ASkiIJc6k5TRiUDPhnyMMdhKc+Zx19l6SgyeW76BEONY9exVQMzKExGKwwPsCzza7KGSSWRWEQhyEaDXp6ZHEr416ygbiKYOd7TEWvvcQIeusHYMJGhTwF9y7sGnSwaWyFAiyoxzqW0PM/RjghPxF2pWReAowTEXnDh0xgcLs8l2YQmOrj3N7ByiqEoH0cARs4u78WgAVkoEDIDoOi3AkcLOHU60RIg5wC4ZuTC7FaHKQm8Hq1fQuSOBvX/sodmNJSB5geaF5CPIkUeecdMxieoRO5jz9bheL6/tXjrwCyX/UYBUcjCaWHljx1xiX6z9xEjkYAzbGVnB8pvLmyXm9ep+W8CmsSHQQY77Zx1zboxAV0w7ybMhQmfqdmmw3nEp1I0Z+FGO6M8LZdoyZnuzzBdjISicKRnpxzI9fPb+0oYXsNdyi+d3h9bm9MWYHFtPeIZfLwzmFDKy1ai3p+PDls1Llz4yyFpferxjnyjJDSEy9CaCx5m2cJPerq6Xm34eTrZt3PqxYO1XOwDYZrFlH1fWnpU38Y9HRze3lj0vOujZcXKuuXm3jP+s3KbZVra7y2EAAAAAASUVORK5CYII=" alt="Poetry">
|
|
58
|
+
</a>
|
|
59
|
+
<a href="https://github.com/astral-sh/ruff">
|
|
60
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="ruff">
|
|
61
|
+
</a>
|
|
62
|
+
<a href="https://github.com/pre-commit/pre-commit">
|
|
63
|
+
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
|
|
64
|
+
</a>
|
|
65
|
+
</p>
|
|
66
|
+
<p align="center">
|
|
67
|
+
<a href="https://pypi.org/project/spl-core/">
|
|
68
|
+
<img src="https://img.shields.io/pypi/v/spl-core.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
|
|
69
|
+
</a>
|
|
70
|
+
<img src="https://img.shields.io/pypi/pyversions/spl-core.svg?style=flat-square&logo=python&logoColor=fff" alt="Supported Python versions">
|
|
71
|
+
<img src="https://img.shields.io/pypi/l/spl-core.svg?style=flat-square" alt="License">
|
|
72
|
+
</p>
|
|
73
|
+
|
|
74
|
+
_SPL Core_ is our CMake module to support multiple projects as variants of one SPL repository.
|
|
75
|
+
|
|
76
|
+
## Installation of Dependencies
|
|
77
|
+
|
|
78
|
+
```powershell
|
|
79
|
+
.\build.ps1 -install
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Building
|
|
83
|
+
|
|
84
|
+
- Execution of all tests
|
|
85
|
+
- Building documentation
|
|
86
|
+
|
|
87
|
+
```powershell
|
|
88
|
+
.\build.ps1
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Initialize a new SPL Project
|
|
92
|
+
|
|
93
|
+
To initialize a new SPL project, one can use the `init` command of the `please.ps1` script.
|
|
94
|
+
|
|
95
|
+
```powershell
|
|
96
|
+
.\please.ps1 init --project-dir C:\tmp\MyProject
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
See more information [here](https://spl-core.readthedocs.io/en/latest/getting_started/generate_example_project.html).
|
|
100
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
spl_core/__init__.py,sha256=
|
|
1
|
+
spl_core/__init__.py,sha256=vo_ntHT1sqUyobxdRvXJ5-AEk3CJjFKn2TeOfUu3Ink,22
|
|
2
2
|
spl_core/__run.py,sha256=DphnN7_Bjiw_mOOztsHxTDHS8snz1g2MMWAaJpZxPKM,361
|
|
3
3
|
spl_core/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
spl_core/common/command_line_executor.py,sha256=
|
|
4
|
+
spl_core/common/command_line_executor.py,sha256=GHIMpNiMD_eP44vq7L_HiC08aKt7lgW_wn_omU6REwQ,2217
|
|
5
5
|
spl_core/common/path.py,sha256=sDujd3n4XP1XGjHc7ImXEdjihO6A8BOIDbKCf7HgQ0Y,462
|
|
6
6
|
spl_core/gcov_maid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
spl_core/gcov_maid/gcov_maid.py,sha256=5rPIeL9daQDm5ad9xzaIhlDf_0H5g6r2zHo8WN8T4-8,1455
|
|
@@ -34,6 +34,7 @@ spl_core/kickstart/templates/project/.vscode/launch.json,sha256=30-tsNapUNNIvVDo
|
|
|
34
34
|
spl_core/kickstart/templates/project/.vscode/settings.json,sha256=w2zAkNk4P0eZC5zDxiG7jKy35Jl37TyVDg38lXjq3hw,1369
|
|
35
35
|
spl_core/kickstart/templates/project/.vscode/tasks.json,sha256=fPaiY-vpI-3wMK0dpc3LZma4-YYyaI_xc6uQrEUf6sw,3434
|
|
36
36
|
spl_core/kickstart/templates/project/CMakeLists.txt,sha256=pufvVYIpu56BQv04JgJMBzi0DG_pLN0S7d0s4zU8WRg,1817
|
|
37
|
+
spl_core/kickstart/templates/project/README.md,sha256=k-P_SycFIRnRmjjUoAiDrRF8Gg1Te-qErAX-pgtYuqg,310
|
|
37
38
|
spl_core/kickstart/templates/project/build.bat,sha256=HlOqePYRoHTrp7v6oQ551dXI-qCymGCG0gQ9Au6bpos,73
|
|
38
39
|
spl_core/kickstart/templates/project/build.ps1,sha256=oQSCxUoleJSkBSRW3nTqg_23eANh9mfjlJPgTfH21Ak,11057
|
|
39
40
|
spl_core/kickstart/templates/project/conf.py,sha256=wGhSzSyUx5otw3kPeOzIEKFIxA-Z70K-foUuQWYBY64,6775
|
|
@@ -54,8 +55,8 @@ spl_core/kickstart/templates/project/tools/toolchains/gcc/toolchain.cmake,sha256
|
|
|
54
55
|
spl_core/main.py,sha256=_hL4j155WZMXog_755bgAH1PeUwvTdJZvVdVw9EWhvo,1225
|
|
55
56
|
spl_core/test_utils/base_variant_test_runner.py,sha256=4ugideRMJqj1oaSboMSK7qZnAwg3O8Ysk23SdIi_t1o,3221
|
|
56
57
|
spl_core/test_utils/spl_build.py,sha256=TtYFTY94Fa9eXdtY9NavrCulx-NEONRm81GSLHGB_yQ,5599
|
|
57
|
-
spl_core-4.
|
|
58
|
-
spl_core-4.
|
|
59
|
-
spl_core-4.
|
|
60
|
-
spl_core-4.
|
|
61
|
-
spl_core-4.
|
|
58
|
+
spl_core-4.4.1.dist-info/LICENSE,sha256=UjjA0o8f5tT3wVm7qodTLAhPWLl6kgVyn9FPAd1VeYY,1099
|
|
59
|
+
spl_core-4.4.1.dist-info/METADATA,sha256=N9XEcVFch6lIsKNjAbl3ZzEWBmZseTiqb7SsN189qUY,5054
|
|
60
|
+
spl_core-4.4.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
61
|
+
spl_core-4.4.1.dist-info/entry_points.txt,sha256=18_sdVY93N1GVBiAHxQ_F9ZM-bBvOmVMOMn7PNe2EqU,45
|
|
62
|
+
spl_core-4.4.1.dist-info/RECORD,,
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: spl-core
|
|
3
|
-
Version: 4.3.0
|
|
4
|
-
Summary: Software Product Line Support for CMake
|
|
5
|
-
Home-page: https://github.com/avengineers/spl-core
|
|
6
|
-
License: MIT
|
|
7
|
-
Author: Avengineers
|
|
8
|
-
Author-email: karsten.guenther@kamg.de
|
|
9
|
-
Requires-Python: >=3.10,<3.12
|
|
10
|
-
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Classifier: Natural Language :: English
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
-
Requires-Dist: cookiecutter (==2.1.1)
|
|
20
|
-
Requires-Dist: doxysphinx (>=3.3.7,<4.0.0)
|
|
21
|
-
Requires-Dist: gcovr
|
|
22
|
-
Requires-Dist: hammocking
|
|
23
|
-
Requires-Dist: kconfiglib
|
|
24
|
-
Requires-Dist: py-app-dev (>=2.1.0,<3.0.0)
|
|
25
|
-
Requires-Dist: sphinx (>=7.3.5,<8.0.0)
|
|
26
|
-
Requires-Dist: sphinx-copybutton (>=0.5.2,<0.6.0)
|
|
27
|
-
Requires-Dist: sphinx-needs (>=2.0.0,<3.0.0)
|
|
28
|
-
Requires-Dist: sphinx-new-tab-link (>=0.4.0,<0.5.0)
|
|
29
|
-
Requires-Dist: sphinx-rtd-size (>=0.2.0,<0.3.0)
|
|
30
|
-
Requires-Dist: sphinx-rtd-theme (>=2.0.0,<3.0.0)
|
|
31
|
-
Requires-Dist: sphinx-test-reports (>=1.0.2,<2.0.0)
|
|
32
|
-
Requires-Dist: sphinxcontrib-datatemplates (>=0.11.0,<0.12.0)
|
|
33
|
-
Requires-Dist: sphinxcontrib-mermaid (>=0.9.2,<0.10.0)
|
|
34
|
-
Requires-Dist: sphinxcontrib-plantuml (>=0.29,<0.30)
|
|
35
|
-
Requires-Dist: typer[all] (>=0.12.3,<0.13.0)
|
|
36
|
-
Project-URL: Bug Tracker, https://github.com/avengineers/spl-core/issues
|
|
37
|
-
Project-URL: Changelog, https://github.com/avengineers/spl-core/blob/develop/CHANGELOG.md
|
|
38
|
-
Project-URL: Documentation, https://spl-core.readthedocs.io
|
|
39
|
-
Project-URL: Repository, https://github.com/avengineers/spl-core
|
|
40
|
-
Description-Content-Type: text/markdown
|
|
41
|
-
|
|
42
|
-
# SPL (Software Product Line) Core
|
|
43
|
-
|
|
44
|
-
_SPL Core_ is our CMake module to support multiple projects as variants of one SPL repository.
|
|
45
|
-
|
|
46
|
-
## CI (Continuous Integration)
|
|
47
|
-
|
|
48
|
-
- [](https://github.com/avengineers/spl/actions/workflows/test.yml)
|
|
49
|
-
|
|
50
|
-
## Installation of Dependencies
|
|
51
|
-
|
|
52
|
-
```powershell
|
|
53
|
-
.\build.ps1 -install
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Building
|
|
57
|
-
|
|
58
|
-
- Execution of all tests
|
|
59
|
-
- Building documentation
|
|
60
|
-
|
|
61
|
-
```powershell
|
|
62
|
-
.\build.ps1
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Project Creator
|
|
66
|
-
|
|
67
|
-
With the integrated project creator you can create a new SPL workspace, e.g.:
|
|
68
|
-
|
|
69
|
-
```powershell
|
|
70
|
-
pipenv run python src/project_creator/creator.py workspace --name MyProject --variant MyVariant --out_dir C:\dev
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Note: one can use the `--variant` argument several times to create a project with multiple variants.
|
|
74
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|