This commit is contained in:
		
							parent
							
								
									618058e3b7
								
							
						
					
					
						commit
						e017ba1537
					
				| @ -6,8 +6,10 @@ steps: | ||||
|   - name: build | ||||
|     image: python:3.9 | ||||
|     commands: | ||||
|       - pip install --no-cache-dir pyinstaller | ||||
|       - pyinstaller --clean LaunchSimLinux.spec | ||||
|       - python -m venv venv | ||||
|       - ven/Scripts/activate | ||||
|       - pip install -r requirements.txt | ||||
|       - python -m nuitka --standalone --onefile --enable-plugin=tk-inter src/LaunchSim.py | ||||
| 
 | ||||
|   - name: push-artifacts | ||||
|     image: alpine/git | ||||
| @ -20,7 +22,7 @@ steps: | ||||
|       - 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/ | ||||
|       - cp README_APP.md LaunchSim.dist/LaunchSim.exe application/ | ||||
|       - VERSION=$(cat VERSION) | ||||
|       - cd application | ||||
|       - git add . | ||||
|  | ||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1,5 +1,6 @@ | ||||
| SECRETS | ||||
| venv/ | ||||
| __pycache__/ | ||||
| build/ | ||||
| *.build/ | ||||
| *.dist/ | ||||
| *.log | ||||
| @ -1,40 +0,0 @@ | ||||
| # -*- 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'], | ||||
| ) | ||||
| @ -1,40 +0,0 @@ | ||||
| # -*- 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', | ||||
| ) | ||||
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @ -55,9 +55,14 @@ LaunchSim es una aplicación diseñada para calcular trayectorias de proyectiles | ||||
| 
 | ||||
| 5. **Compilar como ejecutable (opcional):** | ||||
|    Si deseas distribuir la aplicación como un ejecutable independiente: | ||||
|    ```bash | ||||
|    pyinstaller --clean LaunchSim.spec | ||||
|    ``` | ||||
|    - En Windows: | ||||
|       ```bash | ||||
|       python -m nuitka --standalone --windows-disable-console=disable --enable-plugin=tk-inter --windows-icon-from-ico=src/static/icon.ico src/LaunchSim.py | ||||
|       ``` | ||||
|    - En Linux/Mac: | ||||
|       ```bash | ||||
|       python -m nuitka --standalone --onefile --enable-plugin=tk-inter src/LaunchSim.py | ||||
|       ``` | ||||
|    El archivo resultante estará en la carpeta `dist/`. | ||||
| 
 | ||||
| --- | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								dist/LaunchSim.exe
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/LaunchSim.exe
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -1,4 +1,17 @@ | ||||
| altgraph | ||||
| cycler | ||||
| fonttools | ||||
| kiwisolver | ||||
| matplotlib | ||||
| numpy | ||||
| packaging | ||||
| pefile | ||||
| pillow | ||||
| pyinstaller | ||||
| scipy | ||||
| pyinstaller-hooks-contrib | ||||
| pyparsing | ||||
| python-dateutil | ||||
| pywin32-ctypes | ||||
| scipy | ||||
| six | ||||
| nuitka | ||||
							
								
								
									
										0
									
								
								src/tabs/tab_dynamic.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/tabs/tab_dynamic.py
									
									
									
									
									
										Normal file
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Pedro Jose Romero Gombau
						Pedro Jose Romero Gombau