forked from nautechsystems/nautilus_trader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (83 loc) · 2.59 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
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["poetry-core>=1.0.2", "cython", "numpy", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "nautilus_trader"
version = "1.117.0"
description = "A high-performance algorithmic trading platform and event-driven backtester"
authors = ["Nautech Systems <[email protected]>"]
license = "LGPL-3.0-or-later"
readme = "README.md"
homepage = "https://nautechsystems.io"
repository = "https://github.com/nautechsystems/nautilus_trader"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
packages = [
{ include = "examples", format = "sdist" },
{ include = "nautilus_trader" },
]
include = [
# Compiled extensions must be included in the wheel distributions
{ path = "nautilus_trader/**/*.so", format = "wheel" },
]
[tool.poetry.build]
script = "build.py"
generate-setup-file = false
[tool.poetry.dependencies]
python = "^3.7.9"
betfairlightweight = {extras = ["speed"], version = "^2.12.1"}
ccxt = "^1.49.9"
cython = "^3.0a6"
empyrical = "^0.5.5"
ib_insync = "^0.9.66"
msgpack = "^1.0.2"
numpy = "^1.20.2"
numpydoc = { version = "^1.1.0", optional = true }
oandapyV20 = "^0.6.3"
pandas = "^1.2.4"
psutil = "^5.8.0"
pyarrow = { version = "^3.0.0", markers = "sys_platform != 'win32'" }
pytz = "^2020.5"
redis = "3.5.3"
scipy = "^1.6.1"
tabulate = "^0.8.9"
uvloop = { version = "^0.15.2", markers = "sys_platform != 'win32'" }
[tool.poetry.dev-dependencies]
# coverage 5.x is currently broken for Cython
# https://github.com/cython/cython/issues/3515
# A commit was pushed on 7/1/21 to fix the above,
# possibly fixed in the next version of Cython.
black = "^20.8.b1"
coverage = "^4.5.4"
flake8 = "^3.9.1"
isort = "^5.8.0"
mypy = "^0.812"
nox = "^2020.12.31"
parameterized = "^0.8.1"
pre-commit = "^2.12.1"
pytest = "^6.2.3"
pytest-asyncio = "^0.14.0"
pytest-benchmark = "^3.4.1"
pytest-cov = "^2.10.1"
pytest-mock = "^3.6.0"
pytest-xdist = { version = "^2.2.0", extras = ["psutil"] }
sphinx = { version = "^3.4.3", optional = true }
sphinx-rtd-theme = { version = "^0.5.1", optional = true }
[tool.poetry.extras]
docs = ["numpydoc", "sphinx", "sphinx-rtd-theme"]
#################
# Test configs #
#################
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --new-first --failed-first"
filterwarnings = [
"ignore::UserWarning",
"ignore::DeprecationWarning",
]
# TODO (move .coveragerc here once we're on coverage 5.x)