snapshot of https://github.com/ActivityWatch/aw-server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / Test on ubuntu-latest (push) Successful in 3m6s
Lint / lint (push) Successful in 22s
Build / typecheck (ubuntu-latest, 3.9) (push) Successful in 1m49s
Lint / format (push) Successful in 42s
Build / Test on macOS-latest (push) Has been cancelled
Build / Test on windows-latest (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1m31s
Some checks failed
Build / Test on ubuntu-latest (push) Successful in 3m6s
Lint / lint (push) Successful in 22s
Build / typecheck (ubuntu-latest, 3.9) (push) Successful in 1m49s
Lint / format (push) Successful in 42s
Build / Test on macOS-latest (push) Has been cancelled
Build / Test on windows-latest (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1m31s
This commit is contained in:
48
aw-server.spec
Normal file
48
aw-server.spec
Normal file
@@ -0,0 +1,48 @@
|
||||
# -*- mode: python -*-
|
||||
# vi: set ft=python :
|
||||
|
||||
import os
|
||||
|
||||
import aw_core
|
||||
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=name,
|
||||
contents_directory=".",
|
||||
debug=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True,
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe, a.binaries, a.zipfiles, a.datas, strip=False, upx=True, name="aw-server"
|
||||
)
|
||||
Reference in New Issue
Block a user