-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (103 loc) · 3.3 KB
/
pyproject.toml
File metadata and controls
114 lines (103 loc) · 3.3 KB
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
[project]
name = "scikit-fingerprints"
version = "0.0.0" # version set dynamically in GitHub Actions from Git tags
description = "Library for effective molecular fingerprints calculation"
authors = [{ name = "AGH ML & Chemoinformatics Group", email = "jadamczy@agh.edu.pl" }]
keywords = ["molecular fingerprints", "molecular descriptors", "chemoinformatics", "chemistry", "machine learning"]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
requires-python = ">=3.10,<3.14"
dependencies = [
"descriptastorus>=2.0.0,<3",
"e3fp>=1.2.6,<2",
"huggingface_hub>=0.20.0,<2",
"joblib>=1.0.0,<2",
"mordredcommunity>=2.0.0,<3",
"numpy>=1.26.4,<3",
"pandas>=1.5.3,<4",
"rdkit>=2023.9.6,<=2025.9.3",
"scikit-learn>=1.6.0,<2",
"scipy>=1.12.0,<2",
"tqdm>=4.0.0,<5"
]
[project.urls]
homepage = "https://github.com/scikit-fingerprints/scikit-fingerprints"
repository = "https://github.com/scikit-fingerprints/scikit-fingerprints"
documentation = "https://scikit-fingerprints.readthedocs.io/latest"
"Bug Tracker" = "https://github.com/scikit-fingerprints/scikit-fingerprints/issues"
[dependency-groups]
dev = [
"coverage",
"jupyter",
"mypy",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-rerunfailures",
"ruff",
"scipy-stubs",
]
test = [
"mypy",
"ruff",
"pre-commit",
"pytest",
"pytest-rerunfailures"
]
docs = [
"ipython",
"nbsphinx",
"pydata-sphinx-theme",
"scikit-learn!=1.7.1", # due to scikit-learn docs issue: https://github.com/microsoft/lightgbm/issues/6978
"sphinx",
"sphinx-copybutton"
]
eval = [
"lightgbm",
"matplotlib",
]
[tool.pytest.ini_options]
python_files = "*.py"
addopts = "--assert=plain"
filterwarnings = [
"ignore:.*shared_ptr<RDKit.*already registered.*:RuntimeWarning",
"ignore:.*SciPy.*sokalmichener.*:DeprecationWarning",
"ignore:A worker stopped.*:UserWarning",
"ignore:Precision loss occurred.*:RuntimeWarning",
"ignore:The total space of parameters.*:UserWarning",
"ignore:Function auroc_score.*:FutureWarning"
]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true # check all functions, this fixes some tests
allow_redefinition = true # we redefine variables a lot for efficiency
# most libraries used are not properly typed in Python, particularly RDKit
ignore_missing_imports = true
disable_error_code = ["import-untyped"]
no_site_packages = true
[tool.uv.build-backend]
module-name = "skfp"
module-root = ""
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true