Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions | Variables
tools.fix_pythonpath Namespace Reference

Functions

 add_to_pythonpath (path)
 

Variables

 CHECKOUT_ROOT
 

Detailed Description

Add the checkout root to sys.path, provide mechanisms for adding others.

Function Documentation

◆ add_to_pythonpath()

tools.fix_pythonpath.add_to_pythonpath (   path)
Add the given directory to PYTHONPATH.

Definition at line 18 of file fix_pythonpath.py.

18def add_to_pythonpath(path):
19 """Add the given directory to PYTHONPATH."""
20 sys.path.append(path)
21
22

Variable Documentation

◆ CHECKOUT_ROOT

tools.fix_pythonpath.CHECKOUT_ROOT
Initial value:
1= os.path.realpath(os.path.join(
2 os.path.dirname(os.path.abspath(__file__)), os.pardir))

Definition at line 14 of file fix_pythonpath.py.