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

fix : cmake version, import path

parent 2eece3c3
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #45637 canceled
......@@ -8,5 +8,5 @@ http://www.eclipse.org/legal/epl-2.0.
SPDX-License-Identifier: EPL-2.0
"""
from . import * # import so generated by PyBind
from aidge_core.export import ExportNode, generate_file, generate_str
import aidge_core.utils
from .export import ExportNode, generate_file, generate_str
import utils
import aidge_core
from aidge_core import Node, Attributes
from abc import ABC, abstractmethod
......@@ -8,7 +8,7 @@ class ExportNode(ABC):
"""
@abstractmethod
def __init__(self, aidge_node: aidge_core.Node) -> None:
def __init__(self, aidge_node: Node) -> None:
"""Create ExportNode and retieve attirubtes from ``aidge_node``:
- name: aidge Node name
......@@ -21,7 +21,7 @@ class ExportNode(ABC):
self.operator = aidge_node.get_operator()
self.name = self.node.name()
self.attributes = {} # Attributes are auto fetched from aidge operators
if isinstance(self.operator, aidge_core.Attributes):
if isinstance(self.operator, Attributes):
for attr_name in self.operator.get_attrs_name():
self.attributes[attr_name] = self.operator.get_attr(attr_name)
......
......@@ -18,7 +18,7 @@ dynamic = ["version"] # defined in tool.setuptools_scm
requires = [
"setuptools>=64",
"setuptools_scm[toml]==7.1.0",
"cmake>=3.29",
"cmake>=3.27.9",
"toml"
]
build-backend = "setuptools.build_meta"
......@@ -369,5 +369,3 @@ ignored-argument-names = "_.*|^ignored_|^unused_"
# List of qualified module names which can have objects that can redefine
# builtins.
redefining-builtins-modules = ["six.moves", "past.builtins", "future.builtins", "builtins", "io"]
#!/usr/bin/env python3
import sys
import os
import sysconfig
import shutil
import pathlib
import multiprocessing
......
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