Writing your own build scripts - AWS SimSpace Weaver

End of support notice: On May 20, 2026, AWS will end support for AWS SimSpace Weaver. After May 20, 2026, you will no longer be able to access the SimSpace Weaver console or SimSpace Weaver resources. For more information, see AWS SimSpace Weaver end of support.

Writing your own build scripts

You can write your own build scripts for your Python simulation. To have a successful build, the following steps must occur:

  1. Copy the contents of src/PythonBubblesSample/ into the Build/out directory.

  2. Copy the contents of ${WEAVER_SDK_DIRECTORY}/lib/weaver/weaver_python_app_sdk_v1 into the Build/out/lib/weaver_app_sdk_v1 directory.

  3. Copy ${WEAVER_SDK_DIRECTORY}/lib/weaver/libweaver_app_sdk_python_v1_39.so into the Build/out/lib/weaver_app_sdk_v1 directory.

  4. Rename Build/out/lib/weaver_app_sdk_v1/libweaver_app_sdk_python_v1_39.so to libweaver_app_sdk_python_v1.so.

  5. Zip the contents of the Build/out/ directory.

  6. Repeat the zip process for each app zip specified in the simulation's schema. For the PythonBubblesSample, the schema expects a project-nameSpatial.zip and a project-nameView.zip.

After these steps, the zip files are ready to upload to the project's Amazon S3 bucket.