-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.78 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.78 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
[project]
name = "molalchemy"
dynamic = ["version"]
description = "Extensions for SQLAlchemy to work with chemical cartridges"
license = {file = "LICENSE"}
readme = "README.md"
authors = [
{ name = "Anton Siomchen", email = "anton.siomchen+molalchemy@gmail.com" }
]
requires-python = ">=3.10,<3.15"
dependencies = [
"loguru>=0.7.0",
"psycopg>=3.0.0",
"rdkit>=2024.3.1",
"sqlalchemy>=2.0.0",
]
keywords = ["chemistry", "cheminformatics", "molecules", "reactions", "databases"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
"Topic :: Database",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
]
[project.urls]
homepage = "https://github.com/asiomchen/molalchemy"
repository = "https://github.com/asiomchen/molalchemy"
documentation = "https://molalchemy.readthedocs.io"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"alembic>=1.17.0",
"ipykernel>=6.30.1",
"jinja2>=3.1.6",
"mypy>=1.18.2",
"pandas>=2.3.3",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"pyyaml>=6.0.2",
"ruff==0.14.5",
"sqlalchemy[mypy]>=2.0.43",
]
docs = [
"griffe-typingdoc>=0.2.9",
"mkdocs>=1.6.1",
"mkdocs-jupyter>=0.25.1",
"mkdocs-material[imaging]>=9.6.2",
"mkdocstrings[python]>=0.28.0",
"pymdown-extensions>=10.16.1",
]
[tool.hatch]
build.hooks.vcs.version-file = "src/molalchemy/_version.py"
version.source = "vcs" # Get the version from git, eg: 0.0.6.dev0+g1234567
# Drop the local version part (eg: +g1234567) or pypi will reject package
version.raw-options.local_scheme = "no-local-version"
# A manually triggered GitHub release workflow may generate a new tag
# with .devN suffix. We need to tell setuptools_scm to ignore past tags with
# this suffix when calculating the version number else it refuses to
# bump the version number.
version.raw-options.git_describe_command = [
"git", "describe", "--dirty", "--tags", "--long",
"--match", "v*.[0-9]",
"--match", "v*.[0-9][0-9]",
"--match", "v*.[0-9][0-9][0-9]",
]
version.raw-options.version_scheme = "no-guess-dev"
[tool.hatch.build.targets.sdist]
exclude = [
"docs/*",
"docker/*",
"tests/*",
"tests/*",
".github/*",
".devcontainer/*"
]
[tool.hatch.build.targets.wheel]
exclude = [
"docs/*",
"docker/*",
"tests/*",
"tests/*",
".github/*",
".devcontainer/*"
]
[tool.mypy]
plugins = "sqlalchemy.ext.mypy.plugin"
[tool.pyrefly]