Commit 124b0d65 authored by Jason R. Coombs's avatar Jason R. Coombs

Rewrite init/set with singular construction.

parent 904ecaa9
......@@ -325,11 +325,12 @@ def _query_vcvarsall(version, arch):
VsTDb = [os.path.join(reg.find_visual_studio(), r'VSTSDB\Deploy')]
# Return Environment Variables
env = {}
env['include'] = [VCIncludes, OSIncludes]
env['lib'] = [VCLibraries, OSLibraries, FxTools]
env['libpath'] = [VCLibraries, FxTools]
env['path'] = [VCTools, VSTools, VsTDb, SdkTools, SdkSetup, FxTools]
env = dict(
include=[VCIncludes, OSIncludes],
lib=[VCLibraries, OSLibraries, FxTools],
libpath=[VCLibraries, FxTools],
path=[VCTools, VSTools, VsTDb, SdkTools, SdkSetup, FxTools],
)
def checkpath(path, varlist):
# Function that add valid paths in list in not already present
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment