OneDeadKey / kalamine

Keyboard Layout Maker
MIT License
107 stars 29 forks source link

moving away from setuptools #47

Closed fabi1cazenave closed 10 months ago

fabi1cazenave commented 10 months ago

@sephii does this look okay to you ?

fabi1cazenave commented 10 months ago

Being mostly ignorant with the Python ecosystem, how would switching to Hatch modify the current README/Install section ?

sephii commented 10 months ago

Regarding the make dev command, installing packages globally is not a good idea for a development environment. You should use a virtual environment instead. Eg.

python3 -m venv ./.venv
./.venv/bin/python3 -m pip install -e .

(note that this won’t work if users use non-bash shells like fish or powershell. poetry shell would help you here ;)) (you could also use direnv with layout python3 in a .envrc file to automatically get a Python virtual environment)