AI Engineering Topic

What is pyproject.toml file for?

Young_Metal 2023. 7. 19. 16:55

KoLlava에서 python -m pip install이 있다. 

 

-m이 어디서 나왔나 궁금해서 찾아봤더니

 

pyproject.toml을 읽기 위해서 만들어둔 코드이다. 

setup.py는 pip install -e <folder>를 써야하는데, 

toml 을 사용해서 run에서 바로 실행할 수 있게 한다.