Commit a6ad367
feat: Add /tesseract to PYTHONPATH, similar to native execution (#372)
#### Description of changes
Add `/tesseract` to `PYTHONPATH` in Tesseract containers. This takes
containerized execution of `tesseract_api.py` closer to native execution
regarding finding Python modules in the same directory etc.
#### Testing done
Local testing
---------
Co-authored-by: Alessandro Angioi <[email protected]>1 parent 7a92d45 commit a6ad367
File tree
3 files changed
+9
-0
lines changed- docs/content
- creating-tesseracts
- examples/building-blocks
- tesseract_core/sdk/templates
3 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments