瀏覽代碼

Erster Build

Global Cube 2 年之前
父節點
當前提交
bf1449b906
共有 4 個文件被更改,包括 44 次插入0 次删除
  1. 1 0
      .gitignore
  2. 3 0
      c11.bat
  3. 40 0
      c11.spec
  4. 二進制
      dist/c11.exe

+ 1 - 0
.gitignore

@@ -1 +1,2 @@
 __pycache__
+build/

+ 3 - 0
c11.bat

@@ -0,0 +1,3 @@
+cd /d %~dp0
+pyinstaller -F --path %~dp0 c11.py
+pause

+ 40 - 0
c11.spec

@@ -0,0 +1,40 @@
+# -*- mode: python ; coding: utf-8 -*-
+
+
+block_cipher = None
+
+
+a = Analysis(['c11.py'],
+             pathex=['C:\\Projekte\\tools\\'],
+             binaries=[],
+             datas=[],
+             hiddenimports=[],
+             hookspath=[],
+             hooksconfig={},
+             runtime_hooks=[],
+             excludes=[],
+             win_no_prefer_redirects=False,
+             win_private_assemblies=False,
+             cipher=block_cipher,
+             noarchive=False)
+pyz = PYZ(a.pure, a.zipped_data,
+             cipher=block_cipher)
+
+exe = EXE(pyz,
+          a.scripts,
+          a.binaries,
+          a.zipfiles,
+          a.datas,  
+          [],
+          name='c11',
+          debug=False,
+          bootloader_ignore_signals=False,
+          strip=False,
+          upx=True,
+          upx_exclude=[],
+          runtime_tmpdir=None,
+          console=True,
+          disable_windowed_traceback=False,
+          target_arch=None,
+          codesign_identity=None,
+          entitlements_file=None )

二進制
dist/c11.exe