43 lines
839 B
Markdown
43 lines
839 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
|
||
|
python build_gui.py
|
||
|
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
|
||
|
- refactor ed_lrr to use callbacks
|
||
|
- integrate callbacks into the GUI
|