Skip to content

Commit

Permalink
🐛 override prefix of msgspec to install extension module
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 8, 2024
1 parent 3dccbbd commit edfaa02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__/
# Distribution / packaging
_scm_version.py
subprojects/ozi
subprojects/msgspec
.Python
build*/
develop-eggs/
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ if not meson.is_subproject()
meson.add_dist_script(dev.get_variable('pip'), 'install', 'tomli>=2.0.0')
meson.add_dist_script(python, '-c', dev.get_variable('meson_dist_setuptools_scm'))
endif
subproject('msgspec', default_options: ['install-subprojects=enabled'])
subproject('msgspec', default_options: ['install-subprojects=enabled', 'prefix=@0@'.format(python.get_install_dir())])

0 comments on commit edfaa02

Please sign in to comment.