-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (68 loc) · 1.78 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "zbinfigs"
version = "0.1.7"
authors = [
{ name="Isaac Spackman", email="ispackman@mines.edu" },
]
description = "A package for figure classification from a zotero collection of scholarly articles"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pandas>=2.2.3",
"matplotlib>=3.7.1",
"beautifulsoup4>=4.2.4",
"xhtml2pdf>=0.2.16",
"marker-pdf>=1.1.0",
"tqdm>=4.67",
"reportlab>=4.2.5",
"pillow>=10.4.0",
"pypdf2>=3.0.1"
]
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
]
[project.optional-dependencies]
test = [
"pytest",
"coverage"
]
docs = [
"furo",
"myst_parser >=0.13",
"sphinx >=4.0",
"sphinx-copybutton",
"sphinx-autodoc-typehints",
"nbsphinx",
"nox",
"pip-tools"
]
[project.urls]
"Source Code" = "https://github.com/spackman/zbinfigs"
# Ruff Linter
[tool.ruff]
src = ["src"]
extend-include = ["*.ipynb"]
# Use Numpy-style docstrings.
[tool.ruff.lint]
select = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.bumpver]
current_version = "0.1.7"
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/zbinfigs/__init__.py" = ['__version__ = "{version}"']
"README.md" = ['Version : {version}']