50 lines
1.3 KiB
INI
50 lines
1.3 KiB
INI
[tox]
|
|
envlist = py35-build,py36-build,py37-build,py38-build
|
|
requires =
|
|
tox-conda
|
|
|
|
[testenv]
|
|
platform = win32
|
|
description = Build ED_LRR
|
|
recreate = True
|
|
skip_install = True
|
|
skipsdist = True
|
|
deps =
|
|
PyQt5
|
|
setuptools_rust
|
|
build: https://github.com/Nuitka/Nuitka/archive/develop.zip
|
|
conda_deps =
|
|
pycrypto
|
|
ujson
|
|
dev: ipython
|
|
passenv =
|
|
CARGO_HOME
|
|
RUSTUP_HOME
|
|
INCLUDE
|
|
LIB
|
|
MSSdk
|
|
DISTUTILS_USE_SDK
|
|
whitelist_externals =
|
|
cargo
|
|
iscc
|
|
cmd
|
|
powershell
|
|
conda
|
|
conda_channels =
|
|
conda-forge
|
|
commands =
|
|
python build_gui.py
|
|
|
|
build: python -m pip install .[web]
|
|
build: python -m nuitka --remove-output --plugin-enable=multiprocessing --plugin-enable=qt-plugins --plugin-enable=gevent --standalone --assume-yes-for-downloads --follow-imports --output-dir=exe ed_lrr_gui\__main__.py
|
|
build: cmd /c rename exe\__main__.dist\__main__.exe ED_LRR.exe
|
|
build: iscc /F"ED_LRR_{envname}" /Qp installer/ED_LRR.iss
|
|
|
|
install: python -m pip install -e .[dev,web,test]
|
|
|
|
dev: python -m pip install -e .[dev,web,test]
|
|
dev: cmd /c echo install done now run "conda activate {envdir}"
|
|
|
|
test: python -m pip install .[dev,web,test]
|
|
test: cargo test
|
|
test: pytest |