forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set conda-based-app in pre-install script instead of post-install scr…
…ipt so that spyder post-link script can see it.
- Loading branch information
Showing
5 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
:: Mark as conda-based-app | ||
set menudir=%PREFIX%\envs\spyder-runtime\Menu | ||
if not exist "%menudir%" mkdir "%menudir%" | ||
echo. > "%menudir%\conda-based-app" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
echo "*** Running pre install script for ${INSTALLER_NAME} ..." | ||
|
||
echo "Marking as conda-based-app..." | ||
menudir="${PREFIX}/envs/spyder-runtime/Menu" | ||
mkdir -p "$menudir" | ||
touch "${menudir}/conda-based-app" | ||
|
||
echo "*** Pre install script for ${INSTALLER_NAME} complete" |