24a9ff8244
Three blockers surfaced when the first tag actually ran the pipeline: 1. PyPI sdist build refused the `readme = "../../README.md"` path in bindings/python/pyproject.toml. maturin sdist forbids `..` inside archive entries. Solution: add a Python-specific README at bindings/python/README.md (covers the Python install + pointers to the main repo) and point the project.readme key at the local file. 2. Node publish job hit ENOENT on npm/<platform>/wickra.<...>.node because napi's per-platform scaffolding directories did not exist yet when `napi artifacts` ran. Insert `napi create-npm-dirs` as its own step before `napi artifacts` so the platform package layout is in place before binaries get moved into it. 3. and 4. (crates.io email + npm 2FA-bypass) are registry-side account settings that have to be done in the user's browser; no code change needed for those. They'll be sorted before the next tag push.
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["maturin>=1.7,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[project]
|
|
name = "wickra"
|
|
version = "0.1.0"
|
|
description = "Streaming-first technical indicators: incremental, fast, install-free."
|
|
readme = "README.md"
|
|
license = { text = "PolyForm-Noncommercial-1.0.0" }
|
|
requires-python = ">=3.9"
|
|
keywords = ["finance", "trading", "indicators", "technical-analysis", "ta-lib"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Financial and Insurance Industry",
|
|
"License :: Free for non-commercial use",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Rust",
|
|
"Topic :: Office/Business :: Financial :: Investment",
|
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
]
|
|
dependencies = [
|
|
"numpy>=1.22",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7",
|
|
"numpy>=1.22",
|
|
"hypothesis>=6",
|
|
]
|
|
bench = [
|
|
"pytest-benchmark>=4",
|
|
"TA-Lib; platform_system != 'Windows'",
|
|
"pandas-ta>=0.3.14b",
|
|
"talipp>=2",
|
|
"finta>=1.3",
|
|
"pandas>=2",
|
|
"numpy>=1.22",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/kingchenc/wickra"
|
|
Repository = "https://github.com/kingchenc/wickra"
|
|
Issues = "https://github.com/kingchenc/wickra/issues"
|
|
|
|
[tool.maturin]
|
|
manifest-path = "Cargo.toml"
|
|
python-source = "python"
|
|
module-name = "wickra._wickra"
|
|
features = ["pyo3/extension-module"]
|
|
strip = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra -q"
|
|
filterwarnings = ["error"]
|