| 1 | # Work around difficulties with pre-PEP-420 namespace packages: the .pth |
| 2 | # files from build-dependencies are loaded during site initialization, |
| 3 | # adding the system "lazr" package directory to sys.path, but we want to |
| 4 | # ensure that subpackages of lazr can be imported both from our |
| 5 | # build-dependencies and from this package while running tests. |
| 6 | |
| 7 | import os.path |
| 8 | |
| 9 | import lazr |
| 10 | |
| 11 | lazr.__path__[:0] = [os.path.join(os.path.dirname(__file__), "lazr")] |