forked from Probe-Particle/ppafm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (84 loc) · 2.3 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "ppafm"
dynamic = ["version"]
description = "Classical force field model for simulating atomic force microscopy images."
authors = []
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.7"
dependencies = [
"matplotlib",
"numpy",
"pydantic",
"toml",
]
[project.urls]
Homepage = "https://github.com/Probe-Particle/ProbeParticleModel"
[project.optional-dependencies]
opencl = [
"pyopencl",
"reikna",
"ase",
"PyQt5; platform_system=='Windows'"
]
dev = [
"bumpver==2023.1124",
"pre-commit",
"pytest",
"pytest-cov",
"sphinx",
"furo",
"myst-parser"
]
[project.scripts]
ppafm-generate-elff = "ppafm.cli.generateElFF:main"
ppafm-generate-elff-point-charges = "ppafm.cli.generateElFF_point_charges:main"
ppafm-generate-ljff = "ppafm.cli.generateLJFF:main"
ppafm-generate-dftd3 = "ppafm.cli.generateDFTD3:main"
ppafm-conv-rho = "ppafm.cli.conv_rho:main"
ppafm-relaxed-scan = "ppafm.cli.relaxed_scan:main"
ppafm-plot-results = "ppafm.cli.plot_results:main"
ppafm-gui = "ppafm.cli.gui.ppafm_gui:main"
[tool.setuptools]
include-package-data = true
zip-safe = false
license-files = ["LICENSE"]
[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.dynamic]
version = {attr = "ppafm.version.__version__"}
[tool.bumpver]
current_version = "v0.3.2"
version_pattern = "vMAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"ppafm/version.py" = [
'__version__ = "{pep440_version}"',
]
"doc/sphinx/source/conf.py" = [
'version = "{pep440_version}"',
'_year = YYYY'
]
[tool.cibuildwheel]
skip = ["pp*", "*-manylinux_i686", "*-musllinux*", '*-win32']
[tool.black]
line-length = 180
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
extend-exclude = "ppafm/dev"
[tool.pytest.ini_options]
testpaths = ["tests", "examples"]
python_files = ["test_*.py", "example_*.py"]
python_functions = ["test_*", "example_*"]