You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will create \%DEMO\_ORE\_DIR\%{\bs}build{\bs}OREAnalytics{\bs}orea{\bs}Release{\bs}OREAnalytics-x64-mt.lib
@@ -990,16 +992,27 @@ \subsubsection*{Build ORE-SWIG Wrapper and Wheel}
990
992
{\tt python -m build -{}-wheel}
991
993
992
994
\medskip
993
-
This will create the wheel file (filename.whl) in folder \%DEMO\_ORE\_SWIG\_DIR\%{\bs}OREAnalytics-SWIG{\bs}Python{\bs}dist.
994
-
995
+
This will create
996
+
\begin{itemize}
997
+
\item the Python module and static library in folder {\tt <PATH>{\bs}build{\bs}lib.win-amd64-cpython-310} (the directory name depends on the machine and python version)
998
+
\item the wheel file (filename.whl) in folder {\tt <PATH>{\bs}dist}
999
+
\end{itemize}
1000
+
where {\tt <PATH>} stands for {\tt \%DEMO\_ORE\_SWIG\_DIR\%{\bs}OREAnalytics-SWIG{\bs}Python}.
1001
+
1002
+
\medskip
1003
+
To use the wrapper directly: \\
995
1004
\medskip
1005
+
{\tt cd <PATH>{\bs}Examples} \\
1006
+
{\tt set PYTHONPATH=<PATH>{\bs}build{\bs}lib.win-amd64-cpython-310} \\
1007
+
{\tt python commodityforward.py}
996
1008
1009
+
\medskip
997
1010
To use the wheel:
998
1011
999
-
{\tt cd \%DEMO\_ORE\_SWIG\_DIR\%{\bs}OREAnalytics-SWIG{\bs}Python{\bs}Examples} \\
0 commit comments