Skip to content

Commit

Permalink
fix(build-linux): exclude sys libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Aug 16, 2021
1 parent 26b4f85 commit b065e2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec_linux_onefile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ block_cipher = None

a = Analysis(['main.py'],
pathex=['J:\\github-mdsanima-dev\\mdsanima-rt-go'],
binaries=None,
binaries=[],
datas=[],
hiddenimports=[
'plyer.platforms.win.notification',
Expand Down Expand Up @@ -45,15 +45,15 @@ a = Analysis(['main.py'],
# os.path.dirname(x[1]).startswith('C:\\Windows\\system32')
# ]

a.exclude_system_libraries(list_of_exceptions=['li*', '*krb*'])
a.exclude_system_libraries(list_of_exceptions=['libexpat*', '*krb*'])

pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher
)

exe = EXE(pyz,
a.scripts + [('O','','OPTION')],
#a.binaries + [('O','','OPTION')],
a.binaries + [('O','','OPTION')],
a.zipfiles + [('O','','OPTION')],
a.datas + [
('image/ic_launcher/res/mipmap-hdpi/ic_launcher.png', '/media/sf_mdsanima-rt-go/image/ic_launcher/res/mipmap-hdpi/ic_launcher.png', 'DATA'),
Expand Down

0 comments on commit b065e2b

Please sign in to comment.