mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
* remove conflicting dependencies * intel preparation (untested) * make orgName more flexible to test * adjust set-version logic * build-osx package target * fix syntax * fix syntax * fix syntax * append arch for upload * syntax * syntax * fixes * fix * complete feature * fix * set-version now deleting the file instead of complaining if version-mismatch * further improvements * parametrize CI_PROJECT_ROOT_NAMESPACE with --gh-project * more fixes * tinyfix * small fix * fix packaging * fix * fix * documentation and further polishing * polishing * bugfixes and feedback * docs * more polishing * testrun * kick * kick * kick again * kick yet again * kick * kick again * kick * kick yet again * fix * kick * kick again and again * kick again * kick * kick again * kick yet again * remove comments for restriction
42 lines
1.1 KiB
Batchfile
Executable file
42 lines
1.1 KiB
Batchfile
Executable file
@ECHO OFF
|
|
|
|
python -V
|
|
pip3 install virtualenv
|
|
echo " --> cleaning up"
|
|
rmdir /s /q .\release\
|
|
rmdir /s /q .\dist
|
|
rmdir /s /q .buildenv
|
|
echo " --> Creating virtualenv"
|
|
virtualenv --python=python3 .buildenv
|
|
echo " --> Activating virtualenv"
|
|
call .\.buildenv\Scripts\activate
|
|
|
|
echo " --> Installing test-requirement"
|
|
pip3 install -e ".[test]"
|
|
|
|
echo " --> Building pypi package"
|
|
pip3 install build==0.10.0
|
|
python -m build
|
|
|
|
echo " --> Installing pypi package"
|
|
python .\utils\release_helper.py install_wheel %1%
|
|
|
|
cd pyinstaller
|
|
|
|
Rem This file gets further packaged up with the pyinstaller and will help specter to figure out which version it's running on
|
|
echo %1% > version.txt
|
|
echo " --> installing pyinstaller requirements"
|
|
pip3 install -r requirements.txt --require-hashes
|
|
|
|
rmdir /s /q .\dist\
|
|
rmdir /s /q .\build\
|
|
rmdir /s /q .\release\
|
|
rmdir /s /q .\electron\dist\
|
|
|
|
echo " --> Creating the pyinstaller binary"
|
|
pyinstaller.exe specterd.spec
|
|
|
|
mkdir release
|
|
|
|
echo " --> Creating the release-package"
|
|
powershell Compress-Archive -Path dist\specterd.exe release\specterd-%1%-win64.zip
|