Skip to content

Commit

Permalink
🐛 add length() check to deps install
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 28, 2024
1 parent 29b7b00 commit 5f2b441
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ configure_file(
output: 'PKG-INFO',
)
deps = run_command(python, '-c', install_dependencies, check: true).stdout().strip().split('$$')
meson.add_postconf_script(pip, 'install', deps)
if deps.length() > 0
meson.add_postconf_script(pip, 'install', deps)
endif
meson.add_dist_script(pip, 'install', 'tomli>=2.0.0')
meson.add_dist_script(python, '-c', meson_dist_setuptools_scm)
vcs_tag(input: 'pyproject.toml', output: 'pyproject.orig.toml')
Expand Down

0 comments on commit 5f2b441

Please sign in to comment.