summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--pyproject.toml10
-rw-r--r--setup.py2
3 files changed, 4 insertions, 10 deletions
diff --git a/README.md b/README.md
index 401eb39..34dccd6 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ see `default-config.json` for example
## how to install
hiccup only needs one command to install :)
```sh
-python setup.py install --user
+python3 -m flit install --user
```
or you can use the [aur package](https://aur.archlinux.org/packages/hiccup-git)
diff --git a/pyproject.toml b/pyproject.toml
index f34ead3..d91fce0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
[build-system]
-requires = ["setuptools>=61.0"]
-build-backend = "setuptools.build_meta"
+requires = ["flit_core >=3.2,<4"]
+build-backend = "flit_core.buildapi"
[project]
name = "hiccup"
version = "0.0.1"
authors = [
- { name = "getchoo", email="[email protected]"},
+ { name = "getchoo", email="[email protected]"},
]
description = "a python script to help keep you up to date"
readme = "README.md"
@@ -24,7 +24,3 @@ classifiers = [
[project.scripts]
hiccup = "hiccup:main"
-
-[tool.setuptools]
-package-dir = {"" = "src"}
-packages = ["hiccup"]
diff --git a/setup.py b/setup.py
deleted file mode 100644
index a4f49f9..0000000
--- a/setup.py
+++ /dev/null
@@ -1,2 +0,0 @@
-import setuptools
-setuptools.setup()