borgend.spec

Sun, 05 Dec 2021 14:39:41 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 05 Dec 2021 14:39:41 +0200
changeset 136
c40f341a99e0
permissions
-rw-r--r--

Add borgend.spec for PyInstaller as an option.

136
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1 # -*- mode: python ; coding: utf-8 -*-
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
2
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 block_cipher = None
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 a = Analysis(['borgend/__main__.py'],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6 pathex=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 binaries=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8 datas=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 hiddenimports=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10 hookspath=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 hooksconfig={},
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12 runtime_hooks=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 excludes=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14 win_no_prefer_redirects=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 win_private_assemblies=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 cipher=block_cipher,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
17 noarchive=False)
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 pyz = PYZ(a.pure, a.zipped_data,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
19 cipher=block_cipher)
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
20
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
21 exe = EXE(pyz,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
22 a.scripts,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
23 [],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
24 exclude_binaries=True,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
25 name='borgend',
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
26 debug=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
27 bootloader_ignore_signals=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
28 strip=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
29 upx=True,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
30 console=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
31 disable_windowed_traceback=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
32 target_arch=None,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
33 codesign_identity=None,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
34 entitlements_file=None )
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
35 coll = COLLECT(exe,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
36 a.binaries,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
37 a.zipfiles,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
38 a.datas,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
39 strip=False,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
40 upx=True,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
41 upx_exclude=[],
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
42 name='borgend')
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
43 app = BUNDLE(coll,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
44 name='borgend.app',
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
45 icon=None,
c40f341a99e0 Add borgend.spec for PyInstaller as an option.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
46 bundle_identifier=None)

mercurial