-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
97 lines (84 loc) · 1.85 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = [
"setuptools >=61.2",
"versioningit",
]
build-backend = "setuptools.build_meta"
[project]
name = "ggmolvis"
description = "Molecular visualization with Blender"
license = {file = "LICENSE" }
authors = [
{name = "Yuxuan Zhuang", email = "[email protected]"},
]
maintainers = [
{name = "Yuxuan Zhuang", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"MDAnalysis>=2.7.0",
"molecularnodes @ git+https://github.com/BradyAJohnston/[email protected]",
"pydantic",
"jupyter",
"loguru",
"bpy"
]
keywords = [
"molecular simulations",
]
dynamic = [
"version",
]
[project.optional-dependencies]
test = [
"pytest>=6.0",
"pytest-xdist>=2.5",
"pytest-cov>=3.0",
]
doc = [
"sphinx",
"sphinx_rtd_theme",
]
# [project.urls]
# source = "https://github.com/yuxuanzhuang/ggmolvis"
# documentation = "https://ggmolvis.readthedocs.io"
[tool.setuptools.packages.find]
include = ["ggmolvis"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"ggmolvis/tests",
]
[tool.black]
line-length = 80
[tool.versioningit]
default-version = "1+unknown"
[tool.versioningit.vcs]
method = "git"
# the below line expects tags to look like '1.0.2'.
# if prefixing with a v, e.g. 'v1.0.2', change it to ["v*"]
match = ["*"]
[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
[tool.coverage.run]
omit = [
# Omit the tests
"*/tests/*",
]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 80
[tool.yapf]
COLUMN_LIMIT = 80
INDENT_WIDTH = 4
USE_TABS = false