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): ...@@ -325,11 +325,12 @@ def _query_vcvarsall(version, arch):
VsTDb = [os.path.join(reg.find_visual_studio(), r'VSTSDB\Deploy')] VsTDb = [os.path.join(reg.find_visual_studio(), r'VSTSDB\Deploy')]
# Return Environment Variables # Return Environment Variables
env = {} env = dict(
env['include'] = [VCIncludes, OSIncludes] include=[VCIncludes, OSIncludes],
env['lib'] = [VCLibraries, OSLibraries, FxTools] lib=[VCLibraries, OSLibraries, FxTools],
env['libpath'] = [VCLibraries, FxTools] libpath=[VCLibraries, FxTools],
env['path'] = [VCTools, VSTools, VsTDb, SdkTools, SdkSetup, FxTools] path=[VCTools, VSTools, VsTDb, SdkTools, SdkSetup, FxTools],
)
def checkpath(path, varlist): def checkpath(path, varlist):
# Function that add valid paths in list in not already present # 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