-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (95 loc) · 2.72 KB
/
pyproject.toml
File metadata and controls
110 lines (95 loc) · 2.72 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>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "toolbox"
version = "0.1.0" # Update this as needed
description = "A comprehensive toolbox for data management, processing, and visualization"
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"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",
]
dependencies = [
"pydantic>=1.10,<2.0",
"pandas>=1.3.0",
"numpy>=1.20.0",
"pyyaml>=5.4.0",
"ruamel.yaml>=0.15.0",
"regex>=2021.0.0",
"tqdm>=4.60.0",
"frozendict>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=3.0.0",
"black>=22.0.0",
"flake8>=4.0.0",
"mypy>=0.950",
]
all = [
"toolbox[dev]",
# Add other optional dependencies here
]
[project.urls]
Homepage = "https://github.com/yourusername/toolbox"
Documentation = "https://toolbox.readthedocs.io"
Repository = "https://github.com/yourusername/toolbox"
Issues = "https://github.com/yourusername/toolbox/issues"
[tool.setuptools]
# Explicit packages: toolbox + subpackages (utils removed; use algutils). Exclude algutils dir.
packages = ["toolbox", "toolbox.datacast", "toolbox.engines", "toolbox.resman", "toolbox.vis"]
[tool.setuptools.package-data]
toolbox = [
"**/*.yml",
"**/*.yaml",
"**/*.json",
"**/*.md",
"**/*.ipynb",
"**/*.puml",
"**/*.jscm",
"**/*.org",
"py.typed",
]
[tool.setuptools.package-dir]
# The repo root IS the toolbox package (i.e. __init__.py is at the root, not in a toolbox/ subdir)
"toolbox" = "."
[tool.pytest.ini_options]
testpaths = ["toolbox"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
include = '\.pyi?$'
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
packages = ["toolbox"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
toolbox = { path = ".", editable = true }
algutils = { path = "./algutils", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
all = { features = ["all"], solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
[tool.pixi.tasks]