Elite: Dangerous Long Range Router
Find a file
2019-08-05 01:26:43 +02:00
ed_lrr_gui Initial commit 2019-08-05 01:26:43 +02:00
rust Initial commit 2019-08-05 01:26:43 +02:00
.gitignore Initial commit 2019-08-05 01:26:43 +02:00
build_gui.py Initial commit 2019-08-05 01:26:43 +02:00
clean.bat Initial commit 2019-08-05 01:26:43 +02:00
MANIFEST.in Initial commit 2019-08-05 01:26:43 +02:00
pyproject.toml Initial commit 2019-08-05 01:26:43 +02:00
README.md Initial commit 2019-08-05 01:26:43 +02:00
setup.py Initial commit 2019-08-05 01:26:43 +02:00

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
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

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