-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
79 lines (69 loc) · 2.3 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
[tool.maturin]
module-name = "bourse.core"
[build-system]
requires = ["maturin>=1.2,<2.0"]
build-backend = "maturin"
[project]
name = "bourse"
version = "0.4.0"
description = "Python API for a Rust stock market simulation library"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["finance", "agent-based modelling", "simulation", "reinforcement-learning"]
license = { file = "LICENSE" }
authors = [
{ name = "zombie-einstein", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"tqdm >= 4.66.2",
"pandas >= 2.2.0",
]
[project.urls]
source = "https://github.com/zombie-einstein/bourse"
docs = "https://zombie-einstein.github.io/bourse/"
documentation = "https://zombie-einstein.github.io/bourse/"
[tool.hatch.envs.dev]
dependencies = [
"maturin >= 1.2.3",
"patchelf >= 0.17.2.1; platform_system != 'Darwin'",
"pytest >= 7.4.2",
"pytest-benchmark >= 4.0.0",
"pre-commit >= 3.3.3",
]
[tool.hatch.envs.dev.scripts]
develop = "maturin develop --release"
lint = "pre-commit install && pre-commit run --all-files"
test = "maturin develop --release && pytest -v tests --benchmark-disable"
bench = "maturin develop --release && pytest -v tests --benchmark-only"
build = "maturin build --release"
examples = "maturin build --release && python examples/random_trades.py"
[tool.hatch.envs.jupyter]
dependencies = [
"maturin >= 1.2.3",
"jupyter >= 1.0.0",
"matplotlib >= 3.8.2",
"pyarrow >= 14.0.2",
]
[tool.hatch.envs.jupyter.scripts]
notebook = "maturin develop --release && jupyter notebook --notebook-dir=./notebooks"
[tool.hatch.envs.docs]
dependencies = [
"maturin >= 1.2.3",
"patchelf >= 0.17.2.1; platform_system != 'Darwin'",
"sphinx >= 7.2.6",
"sphinx-immaterial >= 0.11.11",
]
[tool.hatch.envs.docs.scripts]
build = "maturin develop && sphinx-build -W -b html docs/source docs/build"
test = "maturin develop && sphinx-build -W -b doctest docs/source docs/build"