Skip to content

Commit

Permalink
format: formatted aw-server.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 22, 2023
1 parent 2aca922 commit b686b14
Showing 1 changed file with 35 additions and 37 deletions.
72 changes: 35 additions & 37 deletions aw-server.spec
Original file line number Diff line number Diff line change
@@ -1,48 +1,46 @@
# -*- mode: python -*-
# vi: set ft=python :

import os

import aw_core
aw_core_path = os.path.dirname(aw_core.__file__)

import flask_restx

aw_core_path = os.path.dirname(aw_core.__file__)
restx_path = os.path.dirname(flask_restx.__file__)

name = "aw-server"
block_cipher = None


a = Analysis(['__main__.py'],
pathex=[],
binaries=None,
datas=[
('aw_server/static', 'aw_server/static'),

(os.path.join(restx_path, 'templates'), 'flask_restx/templates'),
(os.path.join(restx_path, 'static'), 'flask_restx/static'),
(os.path.join(aw_core_path, 'schemas'), 'aw_core/schemas')
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='aw-server',
debug=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='aw-server')
a = Analysis(
["__main__.py"],
pathex=[],
binaries=None,
datas=[
("aw_server/static", "aw_server/static"),
(os.path.join(restx_path, "templates"), "flask_restx/templates"),
(os.path.join(restx_path, "static"), "flask_restx/static"),
(os.path.join(aw_core_path, "schemas"), "aw_core/schemas"),
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
exclude_binaries=True,
name=name,
debug=False,
strip=False,
upx=True,
console=True,
)
coll = COLLECT(
exe, a.binaries, a.zipfiles, a.datas, strip=False, upx=True, name="aw-server"
)

0 comments on commit b686b14

Please sign in to comment.