-
Notifications
You must be signed in to change notification settings - Fork 71
/
pyproject.toml
172 lines (160 loc) · 3.56 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[project]
name = "prolif"
description = "Interaction Fingerprints for protein-ligand complexes and more"
authors = [
{ name = "Cédric Bouysset", email = "cedric@bouysset.net" },
]
readme = "README.rst"
requires-python = ">=3.9"
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
]
keywords = [
"science",
"chemistry",
"drug-design",
"cheminformatics",
"chemoinformatics",
"molecular-dynamics",
"interaction-fingerprint",
]
dependencies = [
"pandas>=1.1.0",
"numpy>=1.13.3",
"scipy>=1.3.0",
"mdanalysis>=2.2.0",
"tqdm",
"multiprocess",
"dill",
]
[project.license]
file = "LICENSE"
[project.optional-dependencies]
plots = [
"py3Dmol",
"matplotlib>=3.5",
]
tutorials = [
"rdkit",
"matplotlib>=3.7",
"seaborn<1.0",
"networkx",
"pyvis",
"prolif[plots]",
]
build = [
"build",
]
tests = [
"pytest>=6.1.2",
"pytest-cov",
"ipython",
"prolif[plots]"
]
dev = [
"prolif[build,tests]",
]
[project.urls]
Homepage = "https://github.com/chemosim-lab/ProLIF"
Documentation = "https://prolif.readthedocs.io/en/stable/"
Discussions = "https://github.com/chemosim-lab/ProLIF/discussions"
Issues = "https://github.com/chemosim-lab/ProLIF/issues"
Changelog = "https://github.com/chemosim-lab/ProLIF/blob/master/CHANGELOG.md"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
include = ["prolif*"]
[tool.setuptools.package-data]
"prolif.data" = ["*"]
"prolif.data.vina" = ["*"]
[tool.setuptools.dynamic]
version = { attr = "prolif._version.__version__" }
[tool.ruff]
line-length = 88
target-version = "py39"
exclude = [
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
]
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# Warning
"W",
# pyupgrade
"UP",
# flake8
"B", # bugbear
"SIM", # simplify
"A", # builtins
"COM", # commas
"C4", # comprehensions
"ISC", # implicit-str-concat
"ICN", # import-conventions
"PIE", # pie
"T20", # print
"PT", # pytest-style
"Q", # quotes
"RET", # return
"ARG", # unused-arguments
"PTH", # use-pathlib
# pandas-vet
"PD",
# pylint
"PLR", # refactor
"PLW", # warning
# numpy
"NPY",
# refurb
"FURB",
# ruff
"RUF",
# isort
"I",
]
ignore = [
"PLW1514", "PTH123", "PLR0904", "PLR0911", "PLR0913", "PLR0914", "PLR0915",
"PLR0916", "PLR0917", "PLR2004", "PLR6301", "PD901", "PT001", "PT018", "FURB103",
"COM812",
# typing incompatible with 3.9
"UP035", "UP006", "UP007",
]
[tool.isort]
profile = "black"
[tool.coverage.report]
include_namespace_packages = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"if .*TYPE_CHECKING:",
"@.*abstractmethod",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"