forked from xopt-org/Badger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (66 loc) · 1.84 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
[build-system]
requires = ["setuptools>=64.0", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "badger-opt"
description = "Interface for optimization of arbitrary problems in Python."
readme = "README.md"
authors = [
{ name = "Zhe Zhang", email = "[email protected]" },
]
keywords = ["optimization", "machine learning", "GUI"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.10, <3.13"
dependencies = [
"coolname",
"pyqt5",
"pyqtgraph",
"qdarkstyle>=3.0",
"pillow",
"requests",
"xopt>=2.5.4",
]
dynamic = ["version"]
[tool.setuptools_scm]
version_file = "src/badger/_version.py"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-qt",
"pytest-mock"
]
[project.urls]
Homepage = "https://github.com/xopt-org/Badger"
Documentation = "https://xopt-org.github.io/Badger/"
"Bug Tracker" = "https://github.com/xopt-org/Badger/issues"
[project.scripts]
badger = "badger.__main__:main"
[project.license]
file = "LICENSE"
[options]
zip_safe = false
include_package_data = true
[tool.setuptools.packages.find]
where = ["src"]
include = [ "badger", ]
namespaces = false
[tool.ruff.lint]
extend-select = ["TID252"] # Defaults + check imports
ignore = ["E722"] # Until bare except blocks get fixed
[tool.pytest.ini_options]
addopts = "--cov=badger/"
log_cli_level = "info"
log_level = "debug"
testpaths = ["src/badger/tests"]