Skip to content

Commit

Permalink
fix version and dependency (eclipse-velocitas#49)
Browse files Browse the repository at this point in the history
* fix version and dependency

* fix licenses

* add defaults
  • Loading branch information
MP91 committed Jan 25, 2024
1 parent 5ab9bf9 commit 0c814d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion NOTICE-3RD-PARTY-CONTENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|nodeenv|1.8.0|BSD|
|packaging|23.2|Apache 2.0<br/>BSD|
|platformdirs|4.1.0|MIT|
|pluggy|1.3.0|MIT|
|pluggy|1.4.0|MIT|
|pre-commit|3.6.0|MIT|
|pytest|7.4.4|MIT|
|pytest-cov|4.1.0|MIT|
Expand Down
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
[project]
name = "velocitas_model_generator"
description = "Generates a language-specific data model out of VSS vspec files"
dynamic = ["version"]
dynamic = ["version", "dependencies"]
requires-python = ">= 3.10"
readme = "README.md"
license = {file = "LICENSE"}
license = { file = "LICENSE" }

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
dependencies = { file = ["requirements.txt"] }


[build-system]
requires = ["setuptools >= 61.0"]
requires = ["setuptools >= 61.0", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"

[project.scripts]
gen-model = "velocitas.model_generator.cli:main"

[tool.setuptools_scm]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://github.com/covesa/vss-tools@v3.0
vss-tools@git+https://github.com/covesa/vss-tools@v3.0
4 changes: 2 additions & 2 deletions src/velocitas/model_generator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
def generate_model(
input_file_path: str,
language: str,
target_folder: str,
name: str,
target_folder: str = "./gen_model",
name: str = "vehicle",
strict: bool = True,
include_dir: str = ".",
ext_attributes_list: List[str] = [],
Expand Down

0 comments on commit 0c814d8

Please sign in to comment.