Skip to content

Commit

Permalink
Merge pull request matplotlib#28036 from QuLogic/version-tags
Browse files Browse the repository at this point in the history
BLD: Fetch version from setuptools_scm at build time
  • Loading branch information
QuLogic committed Apr 9, 2024
2 parents ea8e95e + d3deb6b commit d45dfbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 pybind11
python -m pip install --user meson-python numpy pybind11 setuptools-scm
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 pybind11
python -m pip install --upgrade meson-python numpy pybind11 setuptools-scm
python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt
displayName: 'Install dependencies with pip'
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'matplotlib',
'c', 'cpp',
version: '3.9.0.dev0',
version: run_command(find_program('python3'), '-m', 'setuptools_scm', check: true).stdout().strip(),
# qt_editor backend is MIT
# ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is CC0
# Carlogo, STIX and Computer Modern is OFL
Expand Down

0 comments on commit d45dfbb

Please sign in to comment.