-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
64 lines (55 loc) · 1.45 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
# pyproject.toml
#[build-system]
#requires = ["setuptools>=61.0.0", "wheel"]
#build-backend = "setuptools.build_meta"
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
module-name = "rateslib.rs"
python-source = "python"
bindings = "pyo3"
compatibility = "linux"
features = ["pyo3/extension-module"]
# rustc --print target-list
# https://doc.rust-lang.org/rustc/platform-support.html
[tool.isort]
profile = "black"
line_length = 100
src_paths = ["python", "tests"]
[tool.black]
line-length = 100
target-version = ['py311']
[project]
name = "rateslib"
version = "1.3.0"
description = "A fixed income library for trading interest rates"
readme = "README.md"
authors = [{ name = "J H M Darbyshire"}]
license = { file = "LICENSE" }
keywords = ["interest rate", "derivatives", "swaps", "bonds", "fixed income"]
dependencies = [
"numpy>=1.21.5",
"matplotlib>=3.5.1",
"pandas>=1.4.1",
]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.1",
"jupyterlab>=3.3.1",
"sphinx>=7.1.0",
"coverage>=7.1.0",
"sphinx-automodapi==0.16.0",
"pydata-sphinx-theme==0.14.3",
"nbsphinx==0.9.4",
]
[tool.setuptools]
packages = ["rateslib"]
[project.urls]
Homepage = "https://github.com/attack68/rateslib"