-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows installer - simplify and document
- Loading branch information
howff
committed
May 24, 2024
1 parent
3cc0e2a
commit 0a35c2b
Showing
6 changed files
with
69 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: TuiView | ||
version: 0.3 | ||
installer_type: exe | ||
#check_path_spaces: False | ||
#check_path_length: False | ||
channels: | ||
- https://conda.anaconda.org/conda-forge/ | ||
- https://repo.anaconda.com/pkgs/main/ | ||
- https://repo.anaconda.com/pkgs/msys2/ | ||
specs: | ||
- conda | ||
- menuinst | ||
- console_shortcut | ||
- tuiview | ||
extra_files: | ||
- tuiview.bat | ||
- tuiviewexe.bat | ||
- TuiView-1.2.13-cp312-cp312-win_amd64.whl | ||
post_install: post_install.bat | ||
post_install_desc: Install the bundled version of TuiView instead of the version from Conda |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
call "%PREFIX%\Scripts\activate.bat" | ||
pip install --no-deps --force-reinstall %PREFIX%\TuiView-1.2.13-cp312-cp312-win_amd64.whl | ||
pip install --no-deps --force-reinstall %PREFIX%\TuiView-1.2.14-cp312-cp312-win_amd64.whl |
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
@echo off | ||
rem * You can change directory to where your files are stored | ||
cd %USERPROFILE%\Downloads | ||
rem * You can activate the conda environment if you want | ||
rem call %USERPROFILE%\miniconda3\condabin\activate.bat | ||
rem call conda activate tuiview | ||
set TUIVIEW_ALLOW_NOGEO=YES | ||
rem * You can set some environment variables if you want | ||
rem e.g. to allow loading non-georeferenced image files | ||
rem set TUIVIEW_ALLOW_NOGEO=YES | ||
%userprofile%\tuiview\scripts\tuiview.exe |
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
@echo off | ||
rem * A startup script which could be added to the Windows Start menu | ||
rem This assumes you've installed the TuiView application | ||
rem into your tuiview directory in your user profile, | ||
rem e.g. c:\users\myname\tuiview | ||
rem You can change the default directory here: | ||
rem * You can change the default directory here: | ||
cd %USERPROFILE%\Downloads | ||
set TUIVIEW_ALLOW_NOGEO=YES | ||
%userprofile%\tuiview\scripts\tuiview.exe | ||
rem * You can set environment variables here: | ||
rem e.g. to allow loading non-georeferenced image files | ||
rem set TUIVIEW_ALLOW_NOGEO=YES | ||
%userprofile%\tuiview\scripts\tuiview.exe |