diff options
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | default.nix | 2 | ||||
| -rw-r--r-- | pyproject.toml | 13 | 
3 files changed, 9 insertions, 10 deletions
| @@ -1,8 +1,8 @@  *.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 `python3 -m build`  dist/ diff --git a/default.nix b/default.nix index 07331d7..a546e6a 100644 --- a/default.nix +++ b/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec {    pyproject = true;    build-system = [ -    setuptools +    hatchling    ];    disabled = pythonOlder "3.13"; diff --git a/pyproject.toml b/pyproject.toml index ae3b93d..76a1563 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@  [project]  name = "logformat" -version = "0.0.1" +version = "0.1.0"  authors = [    { name="Martin Fischer", email="martin@push-f.com" },  ] @@ -12,17 +12,16 @@ classifiers = [    "Programming Language :: Python :: 3",    "Operating System :: OS Independent",  ] -license = { file = "LICENSE" } +license = "MIT" +# FUTURE: change to license-files = ["LICENSE"] once NixOS 25.05 is released and require hatchling>=1.26.0 +license-files = { paths = ["LICENSE"] }  [project.urls]  repository = "https://git.push-f.com/logformat"  [build-system] -requires = ["setuptools>=61.0"] -build-backend = "setuptools.build_meta" - -[tool.setuptools] -packages = ["logformat"] +requires = ["hatchling"] +build-backend = "hatchling.build"  [tool.black]  line-length = 100 | 
