https://kedro.org/ logo
#questions
Title
# questions
a

Artur Dobrogowski

01/20/2023, 12:52 PM
Hello, I'm beginner in kedro and trying to get myself familiar with it. I've seen that in startup projects there's
setup.py
present in
src/
. I can't find info on documentation pages what is it used for? Is the kedro pipeline built as a python package for some portability features? I'd like to know what's going on if someone can shed some light here 🙂
d

datajoely

01/20/2023, 1:20 PM
This is used to package projects (in truth this is now done via the new
pyproject.toml
standard) and make it pip instal-able by someone else
👍 1
so you’re on the right track
if you’re never going to package it via
kedro package
you don’t actually need it
also we’re moving to the modern toml standard shortly!
a

Artur Dobrogowski

01/20/2023, 1:22 PM
so I'd like to package the project only if I wanted to distribute it more easily than cloning the project's repo?
so that someone can do pip install
d

datajoely

01/20/2023, 1:22 PM
it’s best to think about deploying the finished article that needs to run in production
a

Artur Dobrogowski

01/20/2023, 1:22 PM
hmm for that I usually use docker
d

datajoely

01/20/2023, 1:22 PM
also an option!
this is a convenience piece for people who don’t want to/know about the hairness of python packaging
a

Artur Dobrogowski

01/20/2023, 1:23 PM
okay I got the grasp of it, thanks for clarification 🙂
d

datajoely

01/20/2023, 1:23 PM
part of what we’re trying to do is get people up and running quickly so they can do some Data Science and not spend their time working out tooling
pleasure
❤️ 1
5 Views