Skip to content

Commit

Permalink
MNT: Add meson-python, numpy, pybind11 and setuptools-scm in
Browse files Browse the repository at this point in the history
     requirements/doc/doc-requirements.txt
    * Update the CI build files to refer to the requirments file rather than
      installing dependencies manually
  • Loading branch information
abhi-jha committed May 13, 2024
1 parent 46b39ab commit 2b82d53
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ install:
test_script:
# Now build the thing..
- set LINK=/LIBPATH:%cd%\lib
- pip install -v --no-build-isolation --config-settings=setup-args="--vsenv" --editable .[dev]
- pip install -v --no-build-isolation --config-settings=setup-args="--vsenv" .[dev]
# this should show no freetype dll...
- set "DUMPBIN=%VS140COMNTOOLS%\..\..\VC\bin\dumpbin.exe"
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ commands:
- run:
name: Install Python dependencies
command: |
python -m pip install --user meson-python numpy pybind11 setuptools-scm
python -m pip install --user ".[build]"
python -m pip install --user \
numpy<< parameters.numpy_version >> \
-r requirements/doc/doc-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ stages:
- bash: |
python -m pip install --upgrade pip
python -m pip install --upgrade meson-python numpy pybind11 setuptools-scm
python -m pip install --upgrade ".[build]"
python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt
displayName: 'Install dependencies with pip'
Expand Down
5 changes: 5 additions & 0 deletions requirements/build/build-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pybind11
meson-python
cmake
ninja
numpy
1 change: 1 addition & 0 deletions requirements/dev/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r ../build/build-requirements.txt
-r ../doc/doc-requirements.txt
-r ../testing/all.txt
-r ../testing/extra.txt
Expand Down

0 comments on commit 2b82d53

Please sign in to comment.