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 804a3ab commit cd8fca9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ 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

rm -rf fake_"${PACKAGE_NAME[$target]}"_module*.egg-info/ dist/ build/
ls -R .
${python_bin} -m build
Expand Down

0 comments on commit cd8fca9

Please sign in to comment.