summaryrefslogtreecommitdiff
path: root/python/.gitignore
diff options
context:
space:
mode:
authorPeter Pentchev <roam@ringlet.net>2023-05-14 16:13:16 +0300
committerPeter Pentchev <roam@ringlet.net>2023-05-14 16:26:16 +0300
commitd645c22a5f87488796d4d8352a12369a74ae4e92 (patch)
treea2391d64246728b3e6f65d2a2fcc8a514211bd71 /python/.gitignore
parentbce28ab7aded6cf8e0dc354200cfb7dddda87eb4 (diff)
python: use hatch/hatcling for the PEP517 build
Rename the variable that holds the project version from VERSION_STRING to VERSION, since that's a bit more canonical (and also that's what hatchling looks for by default). Keep VERSION_STRING for the present, but it will most probably be removed in a future version of confget. Move the Git ignore specifications about the python/ subdirectory to a local .gitignore file. Drop types-setuptools from the mypy Tox test environment.
Diffstat (limited to 'python/.gitignore')
-rw-r--r--python/.gitignore7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/.gitignore b/python/.gitignore
new file mode 100644
index 0000000..ff034d7
--- /dev/null
+++ b/python/.gitignore
@@ -0,0 +1,7 @@
+# SPDX-FileCopyrightText: Peter Pentchev
+# SPDX-License-Identifier: BSD-2-Clause
+
+.mypy_cache/
+src/*.egg-info/
+.tox/
+**/__pycache__/