| Index: tools/deep_memory_profiler/lib/range_dict.py
|
| diff --git a/tools/deep_memory_profiler/range_dict.py b/tools/deep_memory_profiler/lib/range_dict.py
|
| similarity index 96%
|
| rename from tools/deep_memory_profiler/range_dict.py
|
| rename to tools/deep_memory_profiler/lib/range_dict.py
|
| index 9acf8a641ff8c5e906cdcd2d68ce47305ab1dbc0..119046ce0d0ce089c0442d302212d316832accb9 100644
|
| --- a/tools/deep_memory_profiler/range_dict.py
|
| +++ b/tools/deep_memory_profiler/lib/range_dict.py
|
| @@ -5,10 +5,10 @@
|
| import os
|
| import sys
|
|
|
| -BASE_PATH = os.path.dirname(os.path.abspath(__file__))
|
| -BINTREES_PATH = os.path.join(
|
| - BASE_PATH, os.pardir, os.pardir, 'third_party', 'bintrees')
|
| -sys.path.insert(0, BINTREES_PATH)
|
| +_BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| +_BINTREES_PATH = os.path.join(
|
| + _BASE_PATH, os.pardir, os.pardir, 'third_party', 'bintrees')
|
| +sys.path.insert(0, _BINTREES_PATH)
|
|
|
| from bintrees import FastRBTree # pylint: disable=F0401
|
|
|
|
|