@@ -7,12 +7,12 @@ Note that this fork is importing all changes from the QuantLib-SWIG repository o
77release. Changes related to QuantLib's own Python bindings will be included in each new
88release.
99Contributions to this repository should only be made if they are related to building
10- the Python bindings for QuantLib-Risks (enabled with XAD).
10+ the Python bindings for QuantLibAAD (enabled with XAD).
1111
12121 . Fork, then clone the repository with its submodules:
1313
1414``` bash
15- git clone --recurse-submodules https://github.com/yourusername/QuantLib-Risks -Py.git
15+ git clone --recurse-submodules https://github.com/yourusername/QuantLibAAD -Py.git
1616```
1717
18182 . Follow the [ Build Instructions] ( #build-instructions ) below to build the software.
@@ -54,7 +54,7 @@ The package is built in one step by [scikit-build-core](https://scikit-build-cor
5454(see ` pyproject.toml ` ): CMake builds QuantLib as a static library together with
5555[ XAD] ( https://github.com/auto-differentiation/xad ) and
5656[ QuantLibAAD] ( https://github.com/auto-differentiation/QuantLibAAD ) from the ` lib/ ` submodules,
57- then the SWIG module from ` SWIG/ ` and ` Python/QuantLib_Risks / ` .
57+ then the SWIG module from ` SWIG/ ` and ` Python/QuantLibAAD / ` .
5858
5959Requirements: Python 3.10+, a C++17 compiler, and git (or ` patch ` ).
6060CMake, Ninja and SWIG are installed as build dependencies.
@@ -67,7 +67,7 @@ python -m venv .venv
6767source .venv/bin/activate
6868pip install -v . pytest
6969# run the tests from outside the source tree, against the installed package
70- cd /tmp && python -m pytest --import-mode=importlib /path/to/QuantLib-Risks -Py/Python/test
70+ cd /tmp && python -m pytest --import-mode=importlib /path/to/QuantLibAAD -Py/Python/test
7171```
7272
7373Notes:
@@ -89,8 +89,11 @@ Notes:
8989- Wheels for all supported Python versions are built with
9090 [cibuildwheel](https://cibuildwheel.pypa.io) (` pipx run cibuildwheel` , configured in
9191 ` pyproject.toml` ), the source distribution with ` pipx run build --sdist` .
92+ - ` shim/` is the pure-Python ` QuantLib-Risks` distribution, a deprecated alias that requires
93+ ` QuantLibAAD` and re-exports it as ` QuantLib_Risks` . Build it with ` pipx run build shim`
94+ and keep its version and ` QuantLibAAD` requirement in sync with ` pyproject.toml` .
9295
9396
94- [pr]: https://github.com/auto-differentiation/QuantLib-Risks /compare/
97+ [pr]: https://github.com/auto-differentiation/QuantLibAAD-Py /compare/
9598
9699[cla]: https://gist.github.com/auto-differentiation-dev/5c6121c3f341e2de710fa034e9ff3263
0 commit comments