Browse Source

Add folder and file spec

master
Rémi BERTHO 8 months ago
parent
commit
2d31e7e4f8
Signed by: Rémi BERTHO <remi.bertho@dalan.fr> GPG Key ID: EE3B917931C07B64
3 changed files with 48 additions and 1 deletions
  1. 5
    1
      .gitignore
  2. 0
    0
      SimplePanoramaViewer_file.spec
  3. 43
    0
      SimplePanoramaViewer_folder.spec

+ 5
- 1
.gitignore View File

@@ -94,7 +94,11 @@ ENV/
94 94
 # Rope project settings
95 95
 .ropeproject
96 96
 
97
-# IMages
97
+# Images
98 98
 *.jpg
99 99
 *.jpeg
100 100
 *.JPG
101
+
102
+# Others
103
+*.db
104
+*.db:encryptable

SimplePanoramaViewer.spec → SimplePanoramaViewer_file.spec View File


+ 43
- 0
SimplePanoramaViewer_folder.spec View File

@@ -0,0 +1,43 @@
1
+# -*- mode: python -*-
2
+
3
+block_cipher = None
4
+
5
+added_files = [
6
+         ( 'README.md', '.' ),
7
+         ( 'LICENSE.md', '.' ),
8
+         ( 'css', 'css' ),
9
+         ( 'html', 'html' ),
10
+         ( 'js', 'js' )
11
+         ]
12
+
13
+a = Analysis(['SimplePanoramaViewer'],
14
+             pathex=['./SimplePanoramaViewer'],
15
+             binaries=[],
16
+             datas=added_files,
17
+             hiddenimports=[],
18
+             hookspath=[],
19
+             runtime_hooks=[],
20
+             excludes=[],
21
+             win_no_prefer_redirects=False,
22
+             win_private_assemblies=False,
23
+             cipher=block_cipher,
24
+             noarchive=False)
25
+pyz = PYZ(a.pure, a.zipped_data,
26
+             cipher=block_cipher)
27
+exe = EXE(pyz,
28
+          a.scripts,
29
+          [],
30
+          exclude_binaries=True,
31
+          name='SimplePanoramaViewer',
32
+          debug=False,
33
+          bootloader_ignore_signals=False,
34
+          strip=False,
35
+          upx=True,
36
+          console=False )
37
+coll = COLLECT(exe,
38
+               a.binaries,
39
+               a.zipfiles,
40
+               a.datas,
41
+               strip=False,
42
+               upx=True,
43
+               name='SimplePanoramaViewer')

Loading…
Cancel
Save