@@ -50,9 +50,7 @@ def get_current_version():
5050BUNDLE_LIB_DIR = os .path .join (BUNDLE_DIR , "lib" )
5151# py platform directory
5252BUNDLE_REQ_DIR = os .path .join (BUNDLE_DIR .format (platform = "py" ), "requirements" )
53- BUNDLE_ZIP_JSON = os .path .join (
54- BUNDLE_DIR .format (platform = "py" ), f"{ BUNDLE_NAME } -{ TAG } .json"
55- )
53+ BUNDLE_ZIP_JSON = os .path .join (BUNDLE_DIR .format (platform = "py" ), f"{ BUNDLE_NAME } .json" )
5654
5755SOURCEDIR = "src"
5856REQUIREMENTS_FILE = "requirements-modules.txt"
@@ -196,6 +194,7 @@ def do_the_zips():
196194 """finally create the zip files for release"""
197195 # now do the zips
198196 for platform in ["py" ] + PLATFORMS :
197+ in_path = BUNDLE_PATH_NAME .format (platform = PLATFORM_NAMES [platform ])
199198 bun_dir = BUNDLE_DIR .format (platform = PLATFORM_NAMES [platform ])
200199 zip_file = BUNDLE_ZIP .format (platform = PLATFORM_NAMES [platform ])
201200 all_files = list_all_files (bun_dir )
@@ -204,7 +203,8 @@ def do_the_zips():
204203 # build_metadata = {"build-tools-version": build_tools_version}
205204 # bundle.comment = json.dumps(build_metadata).encode("utf-8")
206205 for ffile in all_files :
207- bundle .write (os .path .join (bun_dir , ffile ), ffile )
206+ in_file_path = in_path + "/" + ffile
207+ bundle .write (os .path .join (bun_dir , ffile ), in_file_path )
208208
209209
210210if __name__ == "__main__" :
0 commit comments