Adding to PATH relative to install directory

257 views
Skip to first unread message

Justin

unread,
Apr 1, 2014, 1:07:07 PM4/1/14
to winp...@googlegroups.com
I want to add Graphviz to the install directory for WinPython and put the bin folder on the PATH.  I tried editing the winpython.ini file like this:

[debug]
state = disabled

[environment]
## <?> Uncomment lines to override environment variables
PATH = %WINPYDIR%\tools\Graphviz\bin
#PYTHONPATH =
#PYTHONSTARTUP =

The resulting PATH now includes this:

%WINPYDIR%\tools\Graphviz\bin

So the value if WINPYDIR isn't being substituted.  Is there a way around this?

Thanks in advance



stonebig

unread,
Nov 22, 2020, 9:11:00 AM11/22/20
to WinPython
did you try with

[debug]
state = disabled

[environment]
#HOME = %HOMEDRIVE%%HOMEPATH%\Documents\WinPython%WINPYVER%
#USERPROFILE = %HOME%
PATH = %WINPYDIR%\tools\Graphviz\bin;%PATH%
#JUPYTER_DATA_DIR = %HOME%
#JUPYTERLAB_SETTINGS_DIR = %HOME%\.jupyter\lab
#JUPYTERLAB_WORKSPACES_DIR = %HOME%\.jupyter\lab\workspaces
#WINPYWORKDIR = %HOMEDRIVE%%HOMEPATH%\Documents\WinPython%WINPYVER%\Notebooks
Reply all
Reply to author
Forward
0 new messages