Update: Solved, thanks for the help. Hi everyone,...
# general
e
Update: Solved, thanks for the help. Hi everyone, I'm following the documentation and stuck at the initial configuration step. I ran
pants tailor ::
but it doesn't create any
BUILD
file like described in the docs. Below is my directory tree:
Copy code
.
├── functions
│  ├── authorizer
│  │  ├── pyproject.toml
│  │  ├── src
│  │  │  └── authorizer
│  │  │     └── __init__.py
│  │  └── tests
│  │     └── __init__.py
│  └── users
│     ├── pyproject.toml
│     ├── src
│     │  └── users
│     │     └── __init__.py
│     └── tests
│        └── __init__.py
└── pants.toml
My
pants.toml
is just
Copy code
[GLOBAL]
pants_version = "2.19.0"
backend_packages = [
  "pants.backend.python",
]
I also tried enabling stack trace and verbose logging, got literally no new information, the output is exactly the same. The documentation page about Python has no mention of this problem too. There is no output, no error too, and
pants roots
does list the projects correctly, so I'm out of idea now. Can anyone tell me what else to check here? This is my first-time experience with Pants. Thanks.
c
are your
__init__
files empty? Pants ignores empty init files by default, you can turn that off by setting this setting to false
e
Yep, all of them are empty. Thank you for the help, I can generate the
BUILD
files now.