-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
78 lines (69 loc) · 1.84 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
# Project metadata and core configuration
[project]
name = "cvxsimulator"
version = "1.5.1"
description = "Simple simulator for investors"
authors = [{name = "Thomas Schmelzer", email = "thomas.schmelzer@gmail.com"}]
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
# Private :: Do Not Upload (prevents rhiza_release.yml from publishing to PyPI)
dependencies = [
"jquantstats>=0.6.5",
"numpy>=2.3.4",
"pandas>=2.2.3",
"polars>=1.34.0",
"pyarrow>=19.0.0"
]
# Links to project resources
[project.urls]
Homepage = "https://github.com/cvxgrp/simulator"
Repository = "https://github.com/cvxgrp/simulator"
# Additional dependencies for development, testing, and documentation
[project.optional-dependencies]
test = [
"pytest>=7.0",
]
[dependency-groups]
dev = [
"cvxpy-base>=1.7.0",
"clarabel>=0.9.0",
"loguru",
"tinycta>=0.5.0",
"marimo>=0.17.0",
"plotly>=6.5",
]
test = [
"pytest>=7.0",
]
lint = []
# Build system configuration
# Hatchling is a modern, extensible Python build backend
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# Configuration for building wheel distributions
# Specifies which packages to include in the wheel
[tool.hatch.build.targets.wheel]
packages = ["src/cvx"]
# Deptry configuration for dependency checking
# Map package names to their module names to suppress warnings
[tool.deptry.package_module_name_map]
cvxpy-base = "cvxpy"
jquantstats = "jquantstats"
numpy = "numpy"
pandas = "pandas"
polars = "polars"
clarabel = "clarabel"
loguru = "loguru"
tinycta = "tinycta"
marimo = "marimo"
plotly = "plotly"
# Specific rule ignores for dependency checking
[tool.deptry.per_rule_ignores]
#DEP002 = ["jquantstats"]
DEP001 = ["cvx", "cvxpy"]
DEP002 = ["pyarrow", "pytest"]
# MyPy configuration for type checking
[tool.mypy]
ignore_missing_imports = true