Skip to content

Commit

Permalink
Update: Documents
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Nov 19, 2023
1 parent a3a33d4 commit da80559
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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 @@ -193,7 +193,7 @@ if [ "${deploy_stage}" = "release" ]; then

# Create non-versioned package for latest release
if [ "${target_version}" = "latest" ]; then
export NON_VERSION_PACKAGE=1
export NON_VERSION_PACKAGE="true"
${python_bin} setup.py sdist
${python_bin} setup.py bdist_wheel
unset ${NON_VERSION_PACKAGE}
Expand Down
4 changes: 2 additions & 2 deletions tools/pip_package/setup_blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
blender_version = cur_dir.split('/')[-1].split('-')[-1]
module_name = f"fake-bpy-module-{blender_version}"
if "NON_VERSION_PACKAGE" in os.environ:
if os.environ["NON_VERSION_PACKAGE"] == "1":
module_name = f"fake-bpy-module"
if os.environ["NON_VERSION_PACKAGE"] == "true":
module_name = "fake-bpy-module"

# release version
if "RELEASE_VERSION" in os.environ:
Expand Down
3 changes: 3 additions & 0 deletions tools/pip_package/setup_upbge.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
cur_dir = os.getcwd().replace("\\", "/")
blender_version = cur_dir.split('/')[-1].split('-')[-1]
module_name = f"fake-bge-module-{blender_version}"
if "NON_VERSION_PACKAGE" in os.environ:
if os.environ["NON_VERSION_PACKAGE"] == "true":
module_name = "fake-bge-module"

# release version
if "RELEASE_VERSION" in os.environ:
Expand Down

0 comments on commit da80559

Please sign in to comment.