Commit 4594e8a
authored
Thrift does not need to set
That's because Thrift already generates all the `__init__.py` files we need for us for imports to work. Quite convenient! See the table at https://www.pantsbuild.org/v2.10/docs/thrift-python#step-4-confirm-python-imports-are-working for what Pants generates (found via `export-codegen` goal). There is no benefit to relocating.
I will be removing this field from pantsbuild/pants shortly.python_source_root (#5)1 parent 7723218 commit 4594e8a
3 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
0 commit comments