-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Build bzip2 from source for Linux Pyinstaller builds #6924
Changes from 5 commits
0d2a3df
1c247dc
bb9c5f0
439988b
9e6a241
a7e9459
7ee4c30
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
# -*- mode: python -*- | ||
block_cipher = None | ||
exe_name = 'sam' | ||
analysis = Analysis(['../../samcli/__main__.py'], | ||
binaries=[], | ||
datas=[], | ||
hiddenimports=[], | ||
hookspath=['./installer/pyinstaller'], | ||
runtime_hooks=[], | ||
excludes=[], | ||
cipher=block_cipher) | ||
analysis = Analysis( | ||
['../../samcli/__main__.py'], | ||
binaries=[], | ||
datas=[], | ||
hiddenimports=[], | ||
hookspath=['./installer/pyinstaller'], | ||
runtime_hooks=[], | ||
excludes=[], | ||
cipher=block_cipher | ||
) | ||
pyz = PYZ(analysis.pure, analysis.zipped_data, cipher=block_cipher) | ||
exe = EXE(pyz, | ||
analysis.scripts, | ||
[], | ||
exclude_binaries=True, | ||
name=exe_name, | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
console=True ) | ||
coll = COLLECT(exe, | ||
analysis.binaries, | ||
analysis.zipfiles, | ||
analysis.datas, | ||
strip=False, | ||
upx=True, | ||
name='sam') | ||
exe = EXE( | ||
pyz, | ||
analysis.scripts, | ||
[], | ||
exclude_binaries=True, | ||
name=exe_name, | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
console=True | ||
) | ||
coll = COLLECT( | ||
exe, | ||
analysis.binaries, | ||
analysis.zipfiles, | ||
analysis.datas, | ||
strip=False, | ||
upx=True, | ||
name='sam' | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,29 +2,38 @@ | |
import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5) | ||
block_cipher = None | ||
exe_name = 'sam' | ||
analysis = Analysis(['../../samcli/__main__.py'], | ||
binaries=[('/usr/local/lib/libcrypt.so.2', '.')], | ||
datas=[], | ||
hiddenimports=[], | ||
hookspath=['./installer/pyinstaller'], | ||
runtime_hooks=[], | ||
excludes=[], | ||
cipher=block_cipher) | ||
analysis = Analysis( | ||
['../../samcli/__main__.py'], | ||
binaries=[ | ||
('/usr/local/lib/libbz2.so.1', '.'), | ||
('/usr/local/lib/libcrypt.so.2', '.') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was an earlier discussion with @hnnasit about removing this all together. Do we know if it is possible to remove these custom configs just like the MacOS ones? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point, we can try removing both of these to test. We can add them back easily anyways |
||
], | ||
datas=[], | ||
hiddenimports=[], | ||
hookspath=['./installer/pyinstaller'], | ||
runtime_hooks=[], | ||
excludes=[], | ||
cipher=block_cipher | ||
) | ||
pyz = PYZ(analysis.pure, analysis.zipped_data, cipher=block_cipher) | ||
exe = EXE(pyz, | ||
analysis.scripts, | ||
[], | ||
exclude_binaries=True, | ||
name=exe_name, | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
console=True ) | ||
coll = COLLECT(exe, | ||
analysis.binaries, | ||
analysis.zipfiles, | ||
analysis.datas, | ||
strip=False, | ||
upx=True, | ||
name='sam') | ||
exe = EXE( | ||
pyz, | ||
analysis.scripts, | ||
[], | ||
exclude_binaries=True, | ||
name=exe_name, | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
console=True | ||
) | ||
coll = COLLECT( | ||
exe, | ||
analysis.binaries, | ||
analysis.zipfiles, | ||
analysis.datas, | ||
strip=False, | ||
upx=True, | ||
name='sam' | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
install_sw
target installs OpenSSL without all the manual pages.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let me just add a comment for this in the scripts