diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh index d515d9a402762b292f66520bcc6be57534184c7d..8d47f4d9c71e71d53d86bd0ec562ceda97f1d51a 100755 --- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh +++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh @@ -5,7 +5,7 @@ if [[ $repo == "" ]]; then # case for aidge_ core mkdir -p build # creating build if its not already there to hold the build of cpp files rm -rf build/* # build from scratch else - for repo in $AIGE_DEPENDENCIES ; do # case for other projects + for repo in $AIDGE_DEPENDENCIES ; do # case for other projects REPO_PATH=$(find /host/home/ -type d -name $repo \ -not -path '*install*' \ -not -path '*.git*' \ diff --git a/MANIFEST.in b/MANIFEST.in index ffcf58d65cadfaecc0de7c6572b5ea61593e08af..3e42cf915406d99f07727786e86fa7659757354f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,3 @@ -include project_name.txt - recursive-include aidge_core *.py recursive-include include *.hpp recursive-include src *.cpp diff --git a/pyproject.toml b/pyproject.toml index 83ea37f461e5b3a69a050b77485392f83c23e071..6234dff5271a75b22f12eeaa3408af7d8dac7240 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ [project] name = "aidge_core" description="Core implementations of the operators and graph of aidge framework" -dynamic = ["version"] #Â defined in tool.setuptools_scm dependencies = ["numpy"] requires-python = ">= 3.7" readme = "README.md" @@ -10,6 +9,7 @@ classifiers = [ "Development Status :: 2 - Pre-Alpha", "Programming Language :: Python :: 3" ] +dynamic = ["version"] #Â defined in tool.setuptools_scm [build-system] requires = ["setuptools>=68", "setuptools-scm", "cmake"] @@ -22,7 +22,7 @@ build-frontend = "build" before-build = ["bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"] [tool.cibuildwheel.environment] # aidge_core do not rely on any aidge dependency, hence this string is empty -AIGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n" +AIDGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n" ##################################################### #Â SETUPTOOLS diff --git a/setup.py b/setup.py index df7a6bc2a0d39b501baab6bca8a015fc55cdb0ed..99bf993f6ce7ce5c88fc0053a82e21675964385a 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,8 @@ class CMakeBuild(build_ext): f"-DCMAKE_BUILD_TYPE={compile_type}", "-DPYBIND=ON", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", + "-DTEST=OFF", + "-DCOVERAGE=OFF" ] )