Skip to content

Commit

Permalink
Do not create shortcuts while building conda package or installer.
Browse files Browse the repository at this point in the history
Cleanup conda package build command.
  • Loading branch information
mrclary committed Dec 14, 2024
1 parent 2fb7c56 commit 03153d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/installers-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ jobs:
# built in workspace
[[ -d build/conda-bld ]] && cp -Rv build/conda-bld $CONDA_BLD_PATH
export CONDA_SHORTCUTS=false # Don't create shortcuts while building
python build_conda_pkgs.py --build spyder
- name: Create Local Conda Channel
Expand Down Expand Up @@ -289,6 +291,8 @@ jobs:
- name: Build Package Installer
run: |
export CONDA_SHORTCUTS=false # Don't create shortcuts while building
[[ -n $CNAME ]] && args=("--cert-id" "$CNAME") || args=()
python build_installers.py ${args[@]}
Expand Down
4 changes: 1 addition & 3 deletions installers-conda/build_conda_pkgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ def build(self):
self.logger.info("Building conda package "
f"{self.name}={self.version}...")
check_call([
"conda", "build",
"--skip-existing", "--build-id-pat={n}",
"--no-test", "--no-anaconda-upload",
"conda", "build", "--build-only",
str(self._fdstk_path / "recipe")
])
finally:
Expand Down

0 comments on commit 03153d1

Please sign in to comment.