Skip to content
Snippets Groups Projects
Commit 6f3ee49b authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

Merge branch 'feat/release_pip' into 'dev'

Feat/release pip

See merge request eclipse/aidge/aidge_export_arm_cortexm!10
parents 43914631 94cc43fe
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,8 @@ dist*/
*.egg
sdist/
wheels/
wheelhouse/
aidge_export_arm_cortexm/_version.py
# Environments
.env
......
###############################################################################
# Aidge Continuous Integration and Deployment #
# #
###############################################################################
stages:
- static_analysis
- build
- test
- coverage
- release
- deploy
include:
- project: 'eclipse/aidge/gitlab_shared_files'
ref: 'main'
file:
# choose which jobs to run by including the corresponding files.
- '.gitlab/ci/ubuntu_python.gitlab-ci.yml'
- '.gitlab/ci/release/pip.gitlab-ci.yml'
# Since aidge_onnx is a pure python package building on windows and on ubuntu doesn't differ
# - '.gitlab/ci/windows_python.gitlab-ci.yml'
......@@ -4,6 +4,4 @@ Use this module to generate CPP exports for ARM CortexM boards.
This module has to be used with the Aidge suite
"""
__version__ = "0.0.1"
from .export import *
import unittest
class test_dummy(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_converter(self):
self.assertEqual(True , True)
if __name__ == '__main__':
unittest.main()
......@@ -13,24 +13,20 @@
# Installation:
# For development purposes, you can install the package with: 'pip install .'
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
# Project settings -----------------------------------------------------------------------------------------------------
[project]
name = "aidge_export_arm_cortexm"
dynamic = ["version"]
description = "Aidge export for ARM CortexM systems"
readme = "README.md"
requires-python = ">=3.7"
license = { "text" = "Eclipse Public License 2.0 (EPL-2.0)" }
dynamic = ["version"] # defined in tool.setuptools_scm
# Required dependencies ------------------------------------------------------------------------------------------------
dependencies = [
"numpy",
"onnx", # weights loading
"Jinja2"
"numpy>=1.21.6",
"onnx>=1.16.0", # weights loading
"Jinja2>=3.1.2"
]
# Optional dependencies ------------------------------------------------------------------------------------------------
......@@ -41,17 +37,31 @@ dev = [
"pytest-cov",
]
[build-system]
requires = [
"setuptools>=64",
"wheel",
"setuptools_scm[toml]==7.1.0",
"cmake>=3.27.9",
"toml"
]
build-backend = "setuptools.build_meta"
[project.urls]
Homepage = 'https://eclipse-aidge.com'
Source = 'https://gitlab.eclipse.org/eclipse/aidge/aidge_export_arm_cortexm'
# Tools settings -------------------------------------------------------------------------------------------------------
[tool.setuptools] # configuration specific to the `setuptools` build backend.
packages = { find = { where = ["."], include = ["aidge_export_arm_cortexm", "aidge_export_arm_cortexm.*"] } }
package-data = { "aidge_export_arm_cortexm" = ["**/*.jinja", "**/*.h", "**/*.hpp", "**/*.c", "**/*.cpp"], "aidge_export_arm_cortexm.boards" = ["**/*"] }
[tool.setuptools.dynamic]
version = { attr = "aidge_export_arm_cortexm.__version__" }
package-data = { "aidge_export_arm_cortexm" = ["**/*.jinja", "**/*.h", "**/*.hpp", "**/*.c", "**/*.cpp"], "aidge_export_arm_cortexm.boards" = ["**/*"]}
[tool.setuptools.packages.find]
where = ["."]
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)
# SETUPTOOLS_SCM
[tool.setuptools_scm]
write_to = "aidge_export_arm_cortexm/_version.py"
[tool.pytest]
addopts = "--color=yes"
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