@@ -50,9 +50,7 @@ def get_current_version():
50
50
BUNDLE_LIB_DIR = os .path .join (BUNDLE_DIR , "lib" )
51
51
# py platform directory
52
52
BUNDLE_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" )
56
54
57
55
SOURCEDIR = "src"
58
56
REQUIREMENTS_FILE = "requirements-modules.txt"
@@ -196,6 +194,7 @@ def do_the_zips():
196
194
"""finally create the zip files for release"""
197
195
# now do the zips
198
196
for platform in ["py" ] + PLATFORMS :
197
+ in_path = BUNDLE_PATH_NAME .format (platform = PLATFORM_NAMES [platform ])
199
198
bun_dir = BUNDLE_DIR .format (platform = PLATFORM_NAMES [platform ])
200
199
zip_file = BUNDLE_ZIP .format (platform = PLATFORM_NAMES [platform ])
201
200
all_files = list_all_files (bun_dir )
@@ -204,7 +203,8 @@ def do_the_zips():
204
203
# build_metadata = {"build-tools-version": build_tools_version}
205
204
# bundle.comment = json.dumps(build_metadata).encode("utf-8")
206
205
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 )
208
208
209
209
210
210
if __name__ == "__main__" :
0 commit comments