From 7a95bb969280ce3dac8a948c38d51fb95b90190d Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Fri, 23 Dec 2022 22:14:01 +0500 Subject: [PATCH] Switch to setuptools --- {src/histd => histd}/__init__.py | 0 src/histd/__main__.py => histd/cli.py | 0 pyproject.toml | 7 +++++-- 3 files changed, 5 insertions(+), 2 deletions(-) rename {src/histd => histd}/__init__.py (100%) rename src/histd/__main__.py => histd/cli.py (100%) diff --git a/src/histd/__init__.py b/histd/__init__.py similarity index 100% rename from src/histd/__init__.py rename to histd/__init__.py diff --git a/src/histd/__main__.py b/histd/cli.py similarity index 100% rename from src/histd/__main__.py rename to histd/cli.py diff --git a/pyproject.toml b/pyproject.toml index 2a73fb5..ba5b61a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,9 @@ classifiers = [ "Homepage" = "https://github.com/ordinary-dev/histd" "Bug Tracker" = "https://github.com/ordinary-dev/histd/issues" +[project.scripts] +cli-name = "histd.cli:main" + [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["setuptools"] +build-backend = "setuptools.build_meta"