scikit-hep / pylhe

Lightweight Python interface to read Les Houches Event (LHE) files
https://pypi.org/project/pylhe/
Apache License 2.0
41 stars 23 forks source link

build: Migrate build to use hatchling #241

Closed matthewfeickert closed 2 months ago

matthewfeickert commented 2 months ago
* Use hatchling and hatch-vcs as build system.
* Remove setuptools and related files from repository.
   - Remove setup.py, setup.cfg, MANIFEST.in.
   - Remove check-manifest from 'develop' extra.
* Remove setuptools install from CI.
* Remove check-manifest checks from CI.
* Add .flake8 file as flake8 doesn't support pyproject.toml.

It is worth noting that almost all of the PR (the first commit) was done automatically by

hatch new --init

! That's awesome!