Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Dec 18, 2023
1 parent 6d23820 commit 2c1ff61
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project('pyFAI',
'c', 'cpp', 'cython',
license: 'MIT',
meson_version: '>= 0.60',
version: run_command(['src/pyFAI/_version.py', '--wheel'],
version: run_command(['version.py', '--wheel'],
check:true).stdout().strip(),
default_options: ['buildtype=plain', ],
)
Expand All @@ -28,4 +28,11 @@ py_mod = import('python')
py = py_mod.find_installation()
py_dep = py.dependency()

py.install_sources([
'version.py',
],
pure: false, # Will be installed next to binaries
subdir: 'pyFAI' # Folder relative to site-packages to install to
)

subdir('src/pyFAI')

0 comments on commit 2c1ff61

Please sign in to comment.