Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1.54 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (40 loc) · 1.54 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "order_book"
version = "1.1.0"
description = "A fast orderbook implementation, in C, for Python"
authors = [{name = "Bryant Moscon", email = "bmoscon@gmail.com"}]
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
requires-python = ">=3.13"
keywords = ["market data", "trading", "order book", "MBO", "L2", "L3", "LOB"]
dynamic = ["readme"]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Free Threading :: 3 - Stable",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
]
[project.urls]
Homepage = "https://github.com/bmoscon/orderbook"
[project.optional-dependencies]
tests = ["pytest", "requests", "sortedcontainers"]
[tool.setuptools]
# C lib only, no Python packages
packages = []
# pyproject.toml cannot glob, make sure all new C files are added here
ext-modules = [
{name = "order_book", sources = ["orderbook/orderbook.c", "orderbook/sorteddict.c", "orderbook/utils.c"], extra-compile-args = ["-O3", "-fvisibility=hidden"]},
]
[tool.setuptools.dynamic]
readme = {file = ["README.md", "CHANGES.md"], content-type = "text/markdown"}