Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (100 loc) · 2.65 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
[build-system]
requires = ["setuptools >= 72", "setuptools-scm >= 8.3"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# You should update the version here!
# Typically, the version number should be greater than the latest release version, which can be found in the most recent
# version tag. A trailing `dev0` should be included.
fallback_version = "2.2.0dev0"
version_file = "src/dftpy/version.py"
[project]
name = "dftpy"
description = "Python packages for Density Functional Theory"
readme = "README.md"
license-files = [ "LICENSE.txt" ]
dynamic = [ "version" ]
maintainers = [
{ name = "Pavanello Research Group", email = "m.pavanello@rutgers.edu" },
{ name = "Xuecheng Shao", email = "shaoxc@jlu.edu.cn" },
]
requires-python = ">=3.9"
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12', # some optional dependencies are not available for this version
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
]
dependencies = [
"numpy>=1.11.0",
"scipy>=0.18.0",
"ase>=3.22.0",
"xmltodict>=0.12.0",
]
[project.urls]
homepage = "https://gitlab.com/pavanello-research-group/dftpy"
documentation = "http://dftpy.rutgers.edu"
source = "https://gitlab.com/pavanello-research-group/dftpy"
[project.scripts]
dftpy = 'dftpy.cui.main:main'
[project.optional-dependencies]
extra = [
"dftd4>=3.7.0",
"ipyvolume>=0.6.3",
"numexpr>=2.10.2",
"pyfftw>=0.14.0",
"pymatgen>=2024.8.9",
"scikit-image>=0.24.0",
"upf-to-json>=0.9.5",
]
mpi = [
"mpi4py>=4.0.3",
"mpi4py-fft>=2.0.6",
]
[dependency-groups]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-panels",
"sphinx-copybutton",
"sphinx-inline-tabs",
"sphinx_design",
"nbsphinx",
"pandoc"
]
test = [
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"pytest-mpi>=0.6",
]
# Add these for the future use.
# Currently, this project include too many warnings, and we can't use these linters in CI/CD workflows.
linters = [
"mypy",
"ruff",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["README.md", "LICENSE.txt"]
"dftpy" = ["**/*.json"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = [
"--verbose",
"--strict-markers",
"--strict-config",
"-ra"
]
testpaths = "tests"
markers = [
"mpi: tests that require mpirun with 2+ MPI ranks",
]