Skip to content

Commit edfaa02

Browse files
committed
🐛 override prefix of msgspec to install extension module
Signed-off-by: rjdbcm <rjdbcm@outlook.com>
1 parent 3dccbbd commit edfaa02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __pycache__/
99
# Distribution / packaging
1010
_scm_version.py
1111
subprojects/ozi
12+
subprojects/msgspec
1213
.Python
1314
build*/
1415
develop-eggs/

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ if not meson.is_subproject()
111111
meson.add_dist_script(dev.get_variable('pip'), 'install', 'tomli>=2.0.0')
112112
meson.add_dist_script(python, '-c', dev.get_variable('meson_dist_setuptools_scm'))
113113
endif
114-
subproject('msgspec', default_options: ['install-subprojects=enabled'])
114+
subproject('msgspec', default_options: ['install-subprojects=enabled', 'prefix=@0@'.format(python.get_install_dir())])

0 commit comments

Comments
 (0)