From 2806194127fa69e5b8f5b55e462ec777c8a00b3a Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Tue, 17 Oct 2023 22:12:20 +0200 Subject: [PATCH] Added requirements.txt --- .gitlab/ci/build.gitlab-ci.yml | 4 ++-- requirements.txt | 1 + setup.py | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index 208a7e87..e996def7 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -129,6 +129,7 @@ build:ubuntu_python: - python3 -m pip install virtualenv - virtualenv venv - source venv/bin/activate + - python3 -m pip install -r requirements.txt - python3 -m pip install . artifacts: expire_in: 1 week @@ -196,8 +197,7 @@ build:windows_python: - python -m pip install virtualenv - virtualenv venv - venv\Scripts\Activate.ps1 - # Numpy dependancy for unit test - - python -m pip install numpy + - python -m pip install -r requirements.txt - python -m pip install . artifacts: expire_in: 1 week diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..24ce15ab --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +numpy diff --git a/setup.py b/setup.py index 60807df5..80500f31 100644 --- a/setup.py +++ b/setup.py @@ -108,6 +108,7 @@ if __name__ == '__main__': cmdclass={ 'build_ext': CMakeBuild, }, + install_requires=['aidge_core'], zip_safe=False, ) -- GitLab