forked from dockstring/dockstring
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
75 lines (65 loc) · 2.19 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]
# Minimum requirements for the build system to execute
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "dockstring"
# NOTE: emails excluded because it rendered weirdly on PyPI
authors = [
{name = "Miguel García-Ortegón"},
{name = "Gregor Simm"},
{name = "Austin Tripp"},
]
description = """\
Package for easy ligand preparation and docking with AutoDock Vina against \
a highly-curated selection of 58 protein targets. One of the three \
components of the DOCKSTRING bundle (package, dataset, and benchmark tasks).\
"""
keywords = ["docking", "ligand", "protein", "binding", "benchmark"]
readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE"}
dynamic = ["version"] # version is set from git tags
# True dependencies are openbabel and rdkit.
# However, openbabel seems to not be installable via pip (see e.g. https://github.com/openbabel/openbabel/issues/2571).
# Therefore, we suggesting installing it via conda.
# Since we are excluding openbabel from the dependencies we decided to exclude rdkit too
# and just leave installation up to the user.
dependencies = []
[project.optional-dependencies]
dev = [
"pytest",
"pre-commit"
]
[project.urls]
Homepage = "https://github.com/dockstring/dockstring"
Repository = "https://github.com/dockstring/dockstring.git"
Changelog = "https://github.com/dockstring/dockstring/blob/main/CHANGELOG.md"
[tool.setuptools]
# Specifies location of package to install
# Guidance from: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
packages = ["dockstring"]
[tool.setuptools.package-data]
# Include type hints for mypy when installing package.
"dockstring" = ["py.typed"]
[tool.setuptools_scm]
[tool.mypy]
python_version = 3.9 # pin modern python version
ignore_missing_imports = true
check_untyped_defs = true
[tool.yapf]
column_limit=120
indent_width=4
blank_line_before_nested_class_or_def = false
[tool.ruff]
line-length = 120
# Check https://beta.ruff.rs/docs/rules/ for full list of rules
select = [
"E", "W", # pycodestyle
"F", # Pyflakes
"I", # isort
]
ignore = [
# E501: Line too long -- triggered by comments and such.
"E501",
]