Skip to content

Commit

Permalink
Merge pull request #445 from brave/pythonpath
Browse files Browse the repository at this point in the history
Fixes issue #444, add vendored path to Python requests module
  • Loading branch information
bbondy authored Jun 30, 2018
2 parents 2aad372 + f6fa123 commit cdb4431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ Object.defineProperty(Config.prototype, 'defaultOptions', {
env = this.addPythonPathToEnv(env, path.join(this.srcDir, 'brave', 'chromium_src', 'python_modules'))
env = this.addPythonPathToEnv(env, path.join(this.srcDir, 'brave', 'script'))
env = this.addPythonPathToEnv(env, path.join(this.srcDir, 'tools', 'grit', 'grit', 'extern'))
env = this.addPythonPathToEnv(env, path.join(this.srcDir, 'brave', 'vendor', 'requests'))
env.GCLIENT_FILE = this.gClientFile
env.DEPOT_TOOLS_WIN_TOOLCHAIN = '0'
env.PYTHONUNBUFFERED = '1'
Expand Down

0 comments on commit cdb4431

Please sign in to comment.