From 3bb38fcbbc9703ba22429441604d66f577fc6010 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Mon, 16 Oct 2023 20:54:46 +0200 Subject: Initial commit --- pyproject.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..75a8e9f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,40 @@ +[build-system] +requires = ["setuptools>=61.0.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "journal-lib" +version = "0.0.1" +description = "Simple library for working with ledger journal files in python" +readme = "README.md" +authors = [{ name = "jakobst1n" }] +license = { file = "LICENSE" } +classifiers = [ + "Programming Language :: Python", + "Programming Language :: Python :: 3", +] +keywords = [] +dependencies = [] +requires-python = ">=3.9" + +[project.optional-dependencies] +dev = ["black", "bumpver", "isort", "pip-tools", "pytest"] + +[project.scripts] +testparse = "journal_lib.utils:test" + +[tool.bumpver] +current_version = "1.0.0" +version_pattern = "MAJOR.MINOR.PATCH" +commit_message = "bump version {old_version} -> {new_version}" +commit = true +tag = true +push = false + +[tool.bumpver.file_patterns] +"pyproject.toml" = [ + 'current_version = "{version}"', + 'version = "{version}"' +] +"src/journal_lib/__init__.py" = [ "{version}" ] + -- cgit v1.2.3