diff --git a/README.md b/README.md index 5b07e147cb05c2fa1a6d275d567dda218b131996..6bb46bf5591f0f87f3c722316e97f08609236f1b 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 43cccaa9ab5fc9395932e379274a9dd0f0d13848..f586017393c8022433c70aa8bce18d47a0f33b54 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 5f3de53f4af18a42e19af7b535a143324d93190e..5318fa34d192a2d6a81659cad40d752f5541ec67 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,