49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
# -*- mode: python ; coding: utf-8 -*-
|
|
# PyInstaller spec for CentOS/RHEL Audit Tool
|
|
# Build: pyinstaller centos_rhel_audit.spec
|
|
|
|
block_cipher = None
|
|
|
|
a = Analysis(
|
|
['centos_rhel_audit_v2.py'],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[('audit_cis_centos_v202.sh', '.')],
|
|
hiddenimports=[
|
|
'colorama',
|
|
'unidecode',
|
|
'Crypto', 'Crypto.Cipher', 'Crypto.PublicKey', 'Crypto.Util.Padding',
|
|
'cryptography', 'cryptography.hazmat', 'cryptography.hazmat.primitives',
|
|
'cryptography.hazmat.primitives.ciphers', 'cryptography.hazmat.primitives.padding',
|
|
],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
cipher=block_cipher,
|
|
noarchive=False,
|
|
)
|
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
[],
|
|
name='centos_rhel_audit',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
runtime_tmpdir=None,
|
|
console=True,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
)
|