From 416453d3da97394217d00c4cd83b087d3134516d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Fri, 5 Jul 2024 13:24:47 +0200 Subject: [PATCH] fix : ninja must be preinstalled via apt to run --- README.md | 11 ++++++++--- pyproject.toml | 1 - setup.py | 1 - 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5b07e147c..6bb46bf55 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,20 @@ You can find here the C++ code of the Core library of Aidge. ## Pip installation - - +### Requirement +``` +apt install ninja-build +``` +or set your build backend to the backend of your choice (`cmake -G` to list them) by creating the environment variable `AIDGE_BUILD_GEN` +### Installation To install aidge_core using pip, run the following command in your python environnement : ``` bash pip install . -v ``` -**Note:** you can specify a custom install folder by setting an environment variable: +### Specify the installation folder +By setting an environment variable: ``` bash export AIDGE_INSTALL='<path_to_aidge>/install' diff --git a/pyproject.toml b/pyproject.toml index 43cccaa9a..f58601739 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ requires = [ "setuptools>=64", "setuptools_scm[toml]==7.1.0", "cmake>=3.27.9", - "ninja>=1.10.1", "toml" ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 5f3de53f4..5318fa34d 100644 --- a/setup.py +++ b/setup.py @@ -101,7 +101,6 @@ class CMakeBuild(build_ext): if __name__ == "__main__": setup( - include_package_data=True, ext_modules=[CMakeExtension(get_project_name())], cmdclass={ "build_ext": CMakeBuild, -- GitLab