From 1c5b72f01ae4cac9740b43af6963e08c6277275c Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 26 Mar 2025 08:11:28 +0100 Subject: build: switch from setuptools to hatchling For reproducible builds and also so that you no longer need `--config-settings editable_mode=compat` for pip install to make it work with Pyright. Neither of these concerns really affect osm-proposals since I am not publishing the package on PyPI nor does it expose any library but I have other packages where they do apply and to simplify maintenance I want to use the same build backend for all of my projects. --- .gitignore | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index ecf61d6..b0b88e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,11 @@ *.pyc *.egg-info/ -# created by `pip install . --config-settings editable_mode=compat` -build +# created by `python -m venv venv` (listed here for hatchling) +venv/ + +# created by `python -m build` +dist/ # created by `nix-build` result -- cgit v1.2.3