diff --git a/meson.build b/meson.build index 797afe7..4271fa9 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('OZI.build', version : '0.0.22', license : 'apache-2.0') +project('OZI.build', version : '0.0.23', license : 'apache-2.0') fs = import('fs') python = import('python').find_installation() subdir('ozi_build') diff --git a/ozi_build/buildapi.py b/ozi_build/buildapi.py index 3fbf05e..c5a4b34 100644 --- a/ozi_build/buildapi.py +++ b/ozi_build/buildapi.py @@ -316,7 +316,7 @@ def prepare_metadata_for_build_wheel( dist_info = Path( metadata_directory, - '{}-{}.dist-info'.format(config['module'], config['version']), + '{}-{}.dist-info'.format(config['module'].replace('-', '_', 1).replace('-', '_'), config['version']), ) dist_info.mkdir(exist_ok=True)