Chris Santiago
02/17/2023, 6:26 PMpyproject.toml
file in the root project directory and then a separate setup.py
in the src
directory? Trying to understand their separate roles.
I'd like to introduce kedro
to my team at work. We use a custom cookiecutter to setup all of our projects so that they're pip-installable across various platforms. Our current update uses only pyproject.toml
, and we've removed last remnants of setup.py
and setup.cfg
.
Specifically, I'm trying to understand how I could structure a custom starter, incorporating our existing cookiecutter, that would allow for editable installs with extras-- but I don't want to disturb any existing kedro functionality. How does the kedro cli use the src/setup.py
file, if at all; same with the pyproject.toml
in the root folderDeepyaman Datta
02/17/2023, 7:10 PMpyproject.toml
at this point; probably just something that hasn't gotten done since it's been almost a year since setuptools
added support for pyproject.toml
-based configuration. Just like Kedro itself hasn't moved yet. 🙈
Related discussion: https://github.com/kedro-org/kedro/issues/2152#issuecomment-1410028179
As for how src/setup.py
is used, it's what's used if you try to package the Kedro project (e.g. using kedro package
).setup.py
#soon 🤞fmfreeze
05/02/2023, 4:46 PM