Daniel Seiller
ec3972b06c
update Rust code, update Python code - Add Download functionality to GUI - Update rust code for use with GUI - Add callbacks to rust code - Add python modules for routing and download
41 lines
No EOL
820 B
Markdown
41 lines
No EOL
820 B
Markdown
# Testing
|
|
|
|
```bash
|
|
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
|
|
|
|
```bash
|
|
conda create -n ed_lrr_gui_env python=3
|
|
conda activate ed_lrr_gui_env
|
|
python build_gui.py
|
|
pip install setuptools_rust
|
|
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
|
|
|
|
```bash
|
|
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) |