-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxlpython.cfg
More file actions
38 lines (33 loc) · 1.41 KB
/
xlpython.cfg
File metadata and controls
38 lines (33 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Predefined macros
#
# $(ConfigDir)
# The folder containing this configuration file
#
# $(WorkbookDir)
# The parent folder of the folder containing this configuration file - where it is assumed the workbooks reside.
#
# $(RandomGUID)
# A new random GUID - note that the macro will always resolve to the *same* GUID, not a new one each time
#
# $(Environment:XXX)
# The environment variable XXX
#
# $(xxx)
# Where xxx is the name of a previously defined variable - raises an error if it has not been set
#
# $(?xxx)
# The value of variable xxx if it has been set, otherwise an empty string - does not raise an error
# The CLSID of the object which will get created
CLSID = $(RandomGUID)
# The command line used to launch the COM server
Command = pythonw.exe -u "$(ConfigDir)\xlpyserver.py" $(CLSID)
# Optionally redirect stdout and stderr
RedirectOutput = $(ConfigDir)\$(ConfigName).log
# The working directory the COM server will be launched in
WorkingDir = $(WorkbookDir)
# Optionally manipulate the environment variables.
# Only variables listed in EnvironmentInclude will reach the process, if set.
# Alternatively, all variables except those listed in EnvironmentExclude wll reach the process, if set.
#EnvironmentInclude = PATH, PYTHONPATH, SYSTEMDRIVE, SYSTEMROOT
#EnvironmentExclude = EXCLUDE, THESE, VARIABLES
Environment:PYTHONPATH = $(WorkbookDir);$(?Environment:PYTHONPATH)