Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Oct 13, 2024
1 parent cd8fca9 commit fbf1d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ rm -r ${fake_module_dir}
cp "${SCRIPT_DIR}/../../README.md" .
cp "${SCRIPT_DIR}/../../pyproject.toml" .
cp "${SCRIPT_DIR}/../../setup.py" .
sed -i -e "s/^name = \"fake-${PACKAGE_NAME[$target]}-module\"$/name = \"fake-${PACKAGE_NAME[$target]}-module-${target_version}\"/g" pyproject.toml

# To test against fake-bge-module in fake-bpy-module repository, we need to
# mimic package name to fake-bge-module.
if [ "${target}" = "upbge" ]; then
sed -i -e "s/^name = \"fake-bpy-module/name = \"fake-bge-module/g" pyproject.toml
fi

sed -i -e "s/^name = \"fake-${PACKAGE_NAME[$target]}-module\"$/name = \"fake-${PACKAGE_NAME[$target]}-module-${target_version}\"/g" pyproject.toml
rm -rf fake_"${PACKAGE_NAME[$target]}"_module*.egg-info/ dist/ build/
ls -R .
${python_bin} -m build
Expand Down

0 comments on commit fbf1d90

Please sign in to comment.