forked from pmorissette/bt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
92 lines (83 loc) · 1.91 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
[build-system]
requires = ["hatchling", "hatch-cython", "Cython>=0.29.25", "setuptools"]
build-backend = "hatchling.build"
[project]
name = "bt"
version = "1.2.0"
description = "A flexible backtesting framework for Python"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
authors = [
{ name = "Philippe Morissette", email = "morissette.philippe@gmail.com" },
]
keywords = [
"python",
"finance",
"quant",
"backtesting",
"strategies",
"algotrading",
"algorithmic",
"trading",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"ffn>=1.1.2",
"pyprind>=2.11",
"tqdm>=4",
]
[project.optional-dependencies]
dev = [
"cython>=0.29.25",
"ffn>=1.1.2",
"matplotlib>=2",
"numpy>=1",
"pandas>=0.19",
"pyprind>=2.11",
"pytest",
"pytest-cov",
"ruff>=0.5.0,<0.16",
"twine",
"wheel",
]
[project.urls]
Homepage = "https://github.com/pmorissette/bt"
[tool.hatch.build.targets.sdist]
include = [
"/bt",
"/LICENSE",
"/README.md",
"/pyproject.toml",
]
[tool.hatch.build.targets.wheel]
packages = ["bt"]
artifacts = [
"bt/*.so",
"bt/*.pyd",
"bt/*.dylib",
]
[tool.hatch.build.targets.wheel.hooks.cython]
dependencies = ["hatch-cython"]
[tool.hatch.build.targets.wheel.hooks.cython.options.files]
targets = ["*/core.py"]
exclude = [
"*/__init__.py",
"*/algos.py",
"*/backtest.py",
]
[tool.ruff]
line-length = 180
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]