aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2023-10-16 20:54:46 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2023-10-16 20:54:46 +0200
commit3bb38fcbbc9703ba22429441604d66f577fc6010 (patch)
treeec90232fb8b6502d1efc6a6c6a748f15bb3fcc0e /pyproject.toml
downloadjournal-lib-3bb38fcbbc9703ba22429441604d66f577fc6010.tar.gz
journal-lib-3bb38fcbbc9703ba22429441604d66f577fc6010.zip
Initial commit
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml40
1 files changed, 40 insertions, 0 deletions
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}" ]
+