Skip to content
Snippets Groups Projects
Commit c0ef2a4d authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Merge branch 'RemoveSCM' into 'dev'

Remove scm

See merge request eclipse/aidge/aidge_export_arm_cortexm!15
parents 5f1820a1 7cee11ab
No related branches found
No related tags found
No related merge requests found
...@@ -11,4 +11,4 @@ ROOT = FILE.parents[0] ...@@ -11,4 +11,4 @@ ROOT = FILE.parents[0]
from .export import * from .export import *
from .export_registry import ExportLibAidgeARM, ExportLibCMSISNN from .export_registry import ExportLibAidgeARM, ExportLibCMSISNN
from .operators import * from .operators import *
from .utils import show_version, get_project_version
from importlib.metadata import version
def show_version():
version_aidge_export_arm_cortexm = version("aidge_export_arm_cortexm")
print(f"Aidge Export Arm Cortexm: {version_aidge_export_arm_cortexm}")
def get_project_version()->str:
return version("aidge_export_arm_cortexm")
...@@ -20,7 +20,7 @@ description = "Aidge export for ARM CortexM systems" ...@@ -20,7 +20,7 @@ description = "Aidge export for ARM CortexM systems"
readme = "README.md" readme = "README.md"
requires-python = ">=3.7" requires-python = ">=3.7"
license = { "text" = "Eclipse Public License 2.0 (EPL-2.0)" } license = { "text" = "Eclipse Public License 2.0 (EPL-2.0)" }
dynamic = ["version"] # defined in tool.setuptools_scm dynamic = ["version"] # defined by pbr
# Required dependencies ------------------------------------------------------------------------------------------------ # Required dependencies ------------------------------------------------------------------------------------------------
dependencies = [ dependencies = [
...@@ -41,27 +41,26 @@ dev = [ ...@@ -41,27 +41,26 @@ dev = [
requires = [ requires = [
"setuptools>=64", "setuptools>=64",
"wheel", "wheel",
"setuptools_scm[toml]==7.1.0",
"cmake>=3.27.9", "cmake>=3.27.9",
"toml" "toml",
"pbr"
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project.urls] [project.urls]
Homepage = 'https://eclipse-aidge.com' Homepage = "https://www.deepgreen.ai/en/platform"
Source = 'https://gitlab.eclipse.org/eclipse/aidge/aidge_export_arm_cortexm' Documentation = "https://eclipse-aidge.readthedocs.io/en/latest/"
Repository = "https://gitlab.eclipse.org/eclipse/aidge/aidge_export_arm_cortexm"
Issues = "https://gitlab.eclipse.org/eclipse/aidge/aidge_export_arm_cortexm/-/issues/"
Changelog = "https://gitlab.eclipse.org/eclipse/aidge/aidge_export_arm_cortexm/-/releases"
# Tools settings ------------------------------------------------------------------------------------------------------- # Tools settings -------------------------------------------------------------------------------------------------------
[tool.setuptools] # configuration specific to the `setuptools` build backend. [tool.setuptools] # configuration specific to the `setuptools` build backend.
package-data = { "aidge_export_arm_cortexm" = ["**/*.jinja", "**/*.h", "**/*.hpp", "**/*.c", "**/*.cpp"], "aidge_export_arm_cortexm.boards" = ["**/*"]} package-data = { "aidge_export_arm_cortexm" = ["**/*.jinja", "**/*.h", "**/*.hpp", "**/*.c", "**/*.cpp"], "aidge_export_arm_cortexm.boards" = ["**/*"]}
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["."] where = ["."]
include = ["aidge_export_arm_cortexm", "aidge_export_arm_cortexm.*"] include = ["aidge_export_arm_cortexm", "aidge_export_arm_cortexm.*"]
exclude = ["aidge_export_arm_cortexm.unit_tests*"] # exclude packages matching these glob patterns (empty by default) exclude = ["aidge_export_arm_cortexm.unit_tests*"] # exclude packages matching these glob patterns (empty by default)
# SETUPTOOLS_SCM
[tool.setuptools_scm]
write_to = "aidge_export_arm_cortexm/_version.py"
[tool.pytest] [tool.pytest]
addopts = "--color=yes" addopts = "--color=yes"
# pbr file
[metadata]
version = file: version.txt
0.1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment