Skip to content

Commit

Permalink
MNT: update dynamic versioning command in meson project
Browse files Browse the repository at this point in the history
  • Loading branch information
greglucas committed Nov 17, 2024
1 parent 2127ee7 commit 234b28d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download source files
run: |
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'pymsis',
'c',
# Note that the git commit hash cannot be added dynamically here
version: run_command(find_program('python3'), '-m', 'setuptools_scm', check: true).stdout().strip(),
version: run_command('python', '-m', 'setuptools_scm', check: true).stdout().strip(),
license: 'MIT',
meson_version: '>=1.2.99',
default_options: [
Expand Down

0 comments on commit 234b28d

Please sign in to comment.