This commit is contained in:
parent
2b38528896
commit
e8567bbc75
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: python:3.9
|
||||||
|
commands:
|
||||||
|
- pip install --no-cache-dir pyinstaller
|
||||||
|
- pyinstaller --clean LaunchSim.spec
|
||||||
|
|
||||||
|
- name: push-artifacts
|
||||||
|
image: alpine/git
|
||||||
|
environment:
|
||||||
|
GIT_USERNAME:
|
||||||
|
from_secret: GIT_USERNAME
|
||||||
|
GIT_PASSWORD:
|
||||||
|
from_secret: GIT_PASSWORD
|
||||||
|
commands:
|
||||||
|
- git config --global user.name "Drone CI"
|
||||||
|
- git config --global user.email "drone@spark-ops.com"
|
||||||
|
- git clone https://$GIT_USERNAME:$GIT_PASSWORD@git.spark-ops.com/LaunchSim/application.git
|
||||||
|
- cp README_APP.md dist/LaunchSim.exe application/
|
||||||
|
- cd application
|
||||||
|
- git add .
|
||||||
|
- git commit -m "Actualización de LaunchSim.exe y README_APP.md"
|
||||||
|
- git push origin main
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,5 @@
|
|||||||
SECRETS
|
SECRETS
|
||||||
venv/
|
venv/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.spec
|
|
||||||
build/
|
build/
|
||||||
dist/
|
|
||||||
*.log
|
*.log
|
40
LaunchSim.spec
Normal file
40
LaunchSim.spec
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['src\\main.py'],
|
||||||
|
pathex=['.'],
|
||||||
|
binaries=[],
|
||||||
|
datas=[],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
noarchive=False,
|
||||||
|
optimize=0,
|
||||||
|
)
|
||||||
|
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||||
|
|
||||||
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.datas,
|
||||||
|
[],
|
||||||
|
name='LaunchSim',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
|
console=False,
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
icon=['src\\static\\icon.ico'],
|
||||||
|
)
|
BIN
dist/LaunchSim.exe
vendored
Normal file
BIN
dist/LaunchSim.exe
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user