forked from deepmodeling/reacnetgenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
160 lines (143 loc) · 3.86 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[build-system]
requires = [
"setuptools>=63",
"wheel",
"setuptools_scm[toml]",
"oldest-supported-numpy",
"nodejs-wheel~=20.9",
"pyyaml",
"cython>=0.16",
]
build-backend = "setuptools.build_meta"
[project]
name = "reacnetgenerator"
dynamic = ["version"]
description = "ReacNetGenerator: An automatic reaction network generator for reactive molecular dynamics simulation."
authors = [
{name = "Jinzhe Zeng", email = "[email protected]"},
]
license = {file = "LICENSE"}
classifiers = [
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: JavaScript",
"Programming Language :: C",
"Programming Language :: Cython",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control :: Git",
"Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
'numpy<2',
'networkx',
'matplotlib',
'hmmlearn>=0.2.1',
'ase',
'scour',
'tqdm>=4.9.0',
'coloredlogs',
'pandas',
'lz4',
'requests',
"openbabel-wheel",
"rdkit",
"packaging",
]
requires-python = ">=3.7"
readme = "README.md"
keywords = ["reaction network"]
[project.urls]
homepage = "https://github.com/deepmodeling/reacnetgenerator"
documentation = "https://docs.deepmodeling.com/projects/reacnetgenerator/"
repository = "https://github.com/deepmodeling/reacnetgenerator"
[project.entry-points.console_scripts]
reacnetgenerator = "reacnetgenerator.commandline:_commandline"
[project.entry-points.gui_scripts]
reacnetgeneratorgui = "reacnetgenerator.gui:gui"
[project.optional-dependencies]
test = [
'pytest-sugar',
'pytest-cov<4',
'cython',
'pytest-xvfb',
"pytest-console-scripts",
"pytest-mock",
"pytest-benchmark",
]
docs = [
'sphinx',
'pydata-sphinx-theme',
'numpydoc',
'sphinx-argparse',
'myst-nb>=1.0.0rc0',
'sphinx-favicon>=1.0',
"nodejs-wheel~=20.9",
"pyyaml",
"deepmodeling_sphinx>=0.1.3",
"pygments-lammps",
"sphinxcontrib-bibtex>=2.6.0",
]
[tool.setuptools.packages.find]
include = ["reacnetgenerator*"]
[tool.setuptools.package-data]
reacnetgenerator = [
'static/webpack/bundle.html',
'static/img-title.png',
]
[tool.setuptools_scm]
write_to = "reacnetgenerator/_version2.py"
fallback_version = "Unknown"
[tool.cibuildwheel]
test-command = "reacnetgenerator -h"
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
skip = ["*-win32", "*-manylinux_i686", "*-musllinux*"]
test-skip = "cp37-*"
[tool.cibuildwheel.linux]
environment-pass = ["CIBW_BUILD"]
[tool.pyright]
include = [
"reacnetgenerator",
]
exclude = [
"reacnetgenerator/_version2.py",
]
[tool.coverage.run]
plugins = ["Cython.Coverage"]
[tool.coverage.report]
show_missing = true
omit = ["*test*"]
[tool.isort]
profile = "black"
[tool.ruff]
select = [
"E", # errors
"F", # pyflakes
"D", # pydocstyle
"I", # isort
"UP", # pyupgrade
"C4", # flake8-comprehensions
"RUF", # ruff
"NPY", # numpy
]
ignore = [
"E501", # line too long
"E741", # ambiguous variable name
"E402", # module level import not at top of file
"D205", # 1 blank line required between summary line and description
]
[tool.ruff.lint.per-file-ignores]
"**/*.ipynb" = ["D100"]
[tool.ruff.pydocstyle]
convention = "numpy"