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

fix: minor bugs, imports, typos

parent 97f10abb
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #51012 passed
......@@ -11,4 +11,4 @@ from .aidge_core import * # import so generated by PyBind
from .export_utils import ExportNode, generate_file, generate_str
from .aidge_export_aidge import *
from . import utils
from _version import *
from ._version import *
......@@ -12,6 +12,7 @@ import queue
import threading
import subprocess
import pathlib
from typing import List
def template_docstring(template_keyword, text_to_replace):
......@@ -42,7 +43,7 @@ def enqueue_output(stream, queue):
stream.close()
def run_command(command: list[str], cwd: pathlib.Path = None):
def run_command(command: List[str], cwd: pathlib.Path = None):
"""
This function has the job to run a command and return stdout and stderr that are not shown
by subprocess.check_call / call.
......
......@@ -33,8 +33,13 @@ build-backend = "setuptools.build_meta"
[tool.setuptools]
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["aidge_core*" , "aidge_core.aidge_export_aidge*", "aidge_core.aidge_export_aidge.utils"] # package names should match these glob patterns (["*"] by default)
exclude = ["aidge_core.unit_tests*"] # exclude packages matching these glob patterns (empty by default)
include = [ # package names should match these glob patterns (["*"] by default)
"aidge_core*"
]
exclude = [ # exclude packages matching these glob patterns (empty by default)
"aidge_core.unit_tests",
"aidge_core.unit_tests.static"
]
# SETUPTOOLS_SCM
[tool.setuptools_scm]
......
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