File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22# RUN THIS FILE to build the NVDA addon
33
44rm -rf addon/globalPlugins/MathCAT/Rules
5- # NVDA is currently uses 32 bit python 3.7
5+ # NVDA currently uses 32 bit python 3.7
66# We need to tell PYO3 that
77set PYO3_PYTHON_64=c:/Users/neils/AppData/Local/Programs/Python/Python39
88set PYO3_PYTHON_32=c:/Users/neils/AppData/Local/Programs/Python/Python37-32
99env PYO3_PYTHON=$PYO3_PYTHON_32 /python.exe cargo build --target i686-pc-windows-msvc --release
1010cp target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
1111sed ' s/^import wx\.xrc/# import wx.xrc/' --in-place " addon/globalPlugins/MathCAT/MathCATgui.py"
1212rm MathCAT-* .nvda-addon
13+
14+ # use "pip install SCons" to add scons to the python env
1315$PYO3_PYTHON_32 /Scripts/scons
You can’t perform that action at this time.
0 commit comments