philschmid / easyllm

Home Page:https://philschmid.github.io/easyllm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move makefile to hatch scripts

chainyo opened this issue · comments

Hi @philschmid

I'm discovering hatch being a poetry or setuptools user.

Could it be worth it to move all the Makefile scripts to the hatch scripts systems to make them use automatically the optional dependencies and also move the optional-dependencies under a [tool.hatch.envs.NAME]?

Like this example from the hatch documentation.

Wdyt?

I am not using hatch for the environment locally. I use conda and just do pip install -e .. But hatch had some nice benefits for builds, and the single pyproject.toml was interesting to me.
So Not sure whats better.

Ok that makes sense. I saw the hatch tooling suite in the pyproject.toml which was misleading :)

Then I should probably update the contributing part.

Yeah currently i only use it for building