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

fix : ninja must be preinstalled via apt to run

parent 2c37b481
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
...@@ -5,15 +5,20 @@ ...@@ -5,15 +5,20 @@
You can find here the C++ code of the Core library of Aidge. You can find here the C++ code of the Core library of Aidge.
## Pip installation ## 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 : To install aidge_core using pip, run the following command in your python environnement :
``` bash ``` bash
pip install . -v 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 ``` bash
export AIDGE_INSTALL='<path_to_aidge>/install' export AIDGE_INSTALL='<path_to_aidge>/install'
......
...@@ -24,7 +24,6 @@ requires = [ ...@@ -24,7 +24,6 @@ requires = [
"setuptools>=64", "setuptools>=64",
"setuptools_scm[toml]==7.1.0", "setuptools_scm[toml]==7.1.0",
"cmake>=3.27.9", "cmake>=3.27.9",
"ninja>=1.10.1",
"toml" "toml"
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
......
...@@ -101,7 +101,6 @@ class CMakeBuild(build_ext): ...@@ -101,7 +101,6 @@ class CMakeBuild(build_ext):
if __name__ == "__main__": if __name__ == "__main__":
setup( setup(
include_package_data=True,
ext_modules=[CMakeExtension(get_project_name())], ext_modules=[CMakeExtension(get_project_name())],
cmdclass={ cmdclass={
"build_ext": CMakeBuild, "build_ext": CMakeBuild,
......
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