This commit is contained in:
parent
fa4cf27572
commit
d152b15c12
@ -20,7 +20,7 @@ steps:
|
|||||||
- python -m venv venv
|
- python -m venv venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
- pip config --user set global.progress_bar off
|
- pip config --user set global.progress_bar off
|
||||||
- pip install -r requirements.txt
|
- pip install --prefer-binary -r requirements.txt
|
||||||
- pyinstaller --onefile --name matomo-csv-util --distpath /drone/src/out/ /drone/src/main.py
|
- pyinstaller --onefile --name matomo-csv-util --distpath /drone/src/out/ /drone/src/main.py
|
||||||
- deactivate
|
- deactivate
|
||||||
- cp -v out/matomo-csv-util dist/
|
- cp -v out/matomo-csv-util dist/
|
||||||
@ -30,7 +30,7 @@ steps:
|
|||||||
- mkdir -p /drone/src/out/
|
- mkdir -p /drone/src/out/
|
||||||
# windows build
|
# windows build
|
||||||
- wine c:/python/python.exe -m pip config --user set global.progress_bar off
|
- wine c:/python/python.exe -m pip config --user set global.progress_bar off
|
||||||
- wine c:/python/python.exe -m pip install -r z:/drone/src/requirements.txt
|
- wine c:/python/python.exe -m pip install --prefer-binary -r z:/drone/src/requirements.txt
|
||||||
- wine c:/python/Scripts/pyinstaller.exe --onefile --name matomo-csv-util --distpath z:/drone/src/out z:/drone/src/main.py
|
- wine c:/python/Scripts/pyinstaller.exe --onefile --name matomo-csv-util --distpath z:/drone/src/out z:/drone/src/main.py
|
||||||
- cp -v out/matomo-csv-util.exe dist/
|
- cp -v out/matomo-csv-util.exe dist/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user