File: convertall.spec

package info (click to toggle)
convertall 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,820 kB
  • sloc: python: 2,952; makefile: 7
file content (76 lines) | stat: -rw-r--r-- 2,948 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- mode: python -*-

#******************************************************************************
# convertall.spec, provides settings for use with PyInstaller
#
# Creates a standalone windows executable
#
# Run the build process by running the command 'pyinstaller convertall.spec'
#
# If everything works well you should find a 'dist/convertall' subdirectory
# that contains the files needed to run the application
#
# ConvertAll, an information storage program
# Copyright (C) 2019, Douglas W. Bell
#
# This is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License, either Version 2 or any later
# version.  This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY.  See the included LICENSE file for details.
#******************************************************************************

block_cipher = None

extraFiles = [('../data', 'data'),
              ('../doc', 'doc'),
              ('../icons', 'icons'),
              ('../source/*.py', 'source'),
              ('../source/*.pro', 'source'),
              ('../source/*.spec', 'source'),
              ('../translations', 'translations'),
              ('../win/*.*', '.')]

a = Analysis(['convertall.py'],
             pathex=['C:\\git\\convertall\\devel\\source'],
             binaries=[],
             datas=extraFiles,
             hiddenimports=[],
             hookspath=[],
             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,
          [],
          exclude_binaries=True,
          name='convertall',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          console=False,
          icon='..\\win\\convertall.ico')
a.binaries = a.binaries - TOC([('d3dcompiler_47.dll', None, None),
                               ('libcrypto-1_1.dll', None, None),
                               ('libeay32.dll', None, None),
                               ('libglesv2.dll', None, None),
                               ('libssl-1_1.dll', None, None),
                               ('opengl32sw.dll', None, None),
                               ('qt5dbus.dll', None, None),
                               ('qt5network.dll', None, None),
                               ('qt5qml.dll', None, None),
                               ('qt5qmlmodels.dll', None, None),
                               ('qt5quick.dll', None, None),
                               ('qt5websockets.dll', None, None)])
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               name='convertall')