-
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.
Added generation of env file on Unix and startup batch file on Window…
…s. Thanks to Brian Davis for the contribution.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
VMTKHOME=${VMTK_INSTALL_DIR_NATIVE} | ||
|
||
export $VMTKHOME/bin:$PATH | ||
export ${LIBRARY_PATH_ENV_VAR}=$VMTKHOME/lib/vtk-${VTK_VERSION}:$VMTKHOME/lib/InsightToolkit:$VMTKHOME/lib/vmtk:$${LIBRARY_PATH_ENV_VAR} | ||
export PYTHONPATH=$VMTKHOME/bin/Python:$VMTKHOME/lib/vtk-5.10:$VMTKHOME/lib/vmtk:$PYTHONPATH | ||
|
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,11 @@ | ||
|
||
set VTK_VERSION=${VTK_VERSION} | ||
set PYTHON_ROOT_DIR=${PYTHON_ROOT_DIR_NATIVE} | ||
|
||
set VMTKDIR=${VMTK_INSTALL_DIR_NATIVE} | ||
set PATH=%PYTHON_ROOT_DIR%;%VMTK_DIR%bin;%VMTK_DIR%lib\InsightToolkit;%VMTK_DIR%lib\Python;%PATH% | ||
set PYTHONPATH=%VMTK_DIR%lib\site-packages;%VMTK_DIR%lib\vtk-%VTK_VERSION%;%VMTK_DIR%lib\vmtk;%PYTHONPATH% | ||
python vmtk-exe.py | ||
|
||
rem start "IDLE" ${PYTHON_ROOT_DIR}Lib\idlelib\idle.bat | ||
|