forked from inlab-geo/espresso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (90 loc) · 2.58 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
97
98
99
100
101
102
# --------------------------- BEGIN NOTES ---------------------------
####### TO INSTALL #######
# pip install . # core only, or
# python espresso_machine/build_package/build.py # with contributions
####### TO TEST #######
# python espresso_machine/build_package/validate.py --pre
# python espresso_machine/build_package/validate.py --post
####### TO FORMAT #######
# black --check src/espresso
# black src/espresso
####### PYLINT #######
# pylint src/espresso
# --------------------------- END NOTES -----------------------------
[build-system]
requires = ["setuptools>=42", "numpy", "versioningit"]
build-backend = "setuptools.build_meta"
[project]
name = "geo-espresso"
description = "Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers"
authors = [{name = "InLab, Espresso development team"}]
readme = "README.md"
requires-python = ">=3.6"
keywords = ["inversion", "inference", "python package", "geoscience", "geophysics"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: C",
"Programming Language :: Fortran",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: BSD License",
"License :: Other/Proprietary License",
]
dependencies = [
"numpy>=1.18",
"scipy>=1.0.0",
"matplotlib>=3.1",
"tqdm>=4.0",
"mpmath >= 1.2.0",
]
dynamic = ["version"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = [
# data files
"*.txt",
"*.dat",
"*.csv",
"*.png",
# metadata
"LICENCE",
"README.md",
# source to be compiled
"*.f90",
# dummy files
"*.o",
]
[tool.black]
line-length = 88
target_version = ['py38']
experimental_string_processing = true
exclude = '''
(
/(
\.git
| \.mypy_cache
| \.vscode
| build
| lib.*
| dist
| _skbuild
)/
| tests
)
'''
[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}.core"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty.core"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty.core"
[tool.versioningit.write]
file = "src/espresso/_version.py"