ED_LRR/README.md

959 B

Prerequisites

  • conda (miniconda/anaconda)
  • Visual Studio 2019
  • nightly rust compiler (x86_64-pc-windows-msvc)

Testing

conda create -n ed_lrr_gui_env python=3
conda activate ed_lrr_gui_env
python build_gui.py
pip install -e .
rs_gui_test

Building

conda create -n ed_lrr_gui_env python=3
conda activate ed_lrr_gui_env
python build_gui.py
pip install setuptools_rust pyinstaller
pip install .
python setup.py build
python setup.py bdist_wheel
python setup.py sdist
mkdir exe
cd exe
pyinstaller --noupx --name ed_lrr_gui ../ed_lrr_gui/__main__.py
pyinstaller --noupx --onefile --name ed_lrr_gui ../ed_lrr_gui/__main__.py
cd ..

Clean

rm -rfv _*.pyd *.pyc *.egg-info pip-wheel-metadata dist exe build __pycache__
cd rust
cargo clean
cargo clean --release
cd ..

TODO

  • integrate callbacks into the GUI: WIP
    • QTimer pulls from queue updates UI (every 100ms)