forked from libmbd/libmbd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (59 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
66 lines (59 loc) · 1.74 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
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning", "cffi", "setuptools"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "pymbd"
version = "0.0.0"
description = "Many-body dispersion library"
authors = ["Jan Hermann <dev@jan.hermann.name>"]
readme = "README.md"
packages = [{ include = "pymbd", from = "src" }]
repository = "https://github.com/libmbd/libmbd"
documentation = "https://libmbd.github.io/pymbd"
license = "MPL-2.0"
include = [
{ path = "src/mbd.h" },
{ path = "src/pymbd/*.so", format = "wheel" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Fortran",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
]
[tool.poetry.build]
script = "build.py"
generate-setup-file = false
[tool.poetry.dependencies]
python = "^3.8"
scipy = "^1.6"
numpy = "^1.20"
cffi = "^1"
pytest = { version = "^6", optional = true }
mpi4py = { version = "^3", optional = true }
so3lr = {git = "https://github.com/em819/so3lr.git", branch = "mbd-ml", optional = true}
[tool.poetry.extras]
mpi = ["mpi4py"]
test = ["pytest"]
mbd-ml = ["so3lr"]
[tool.poetry.dev-dependencies]
flake8 = "^4"
flake8-bugbear = "^21"
flake8-comprehensions = "^3"
flake8-quotes = "^3"
pep8-naming = "^0.12"
black = ">=22"
pydocstyle = "^5"
isort = "^5"
fprettify = { git = "https://github.com/jhrmnn/fprettify.git", rev = "fix-config-search" }
[tool.poetry-dynamic-versioning]
enable = true
dirty = true
pattern = '^(?P<base>\d+\.\d+\.\d+)$'
[tool.black]
target-version = ["py38"]
skip-string-normalization = true