Skip to content

Commit

Permalink
#3376 aioquic and pylsqpack cannot be zipped
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 13, 2024
1 parent 1563ae0 commit a5e5276
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packaging/MSWindows/BUILD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -497,14 +497,14 @@ rmdir xpra/* 2> /dev/null
if [ "${ZIP_MODULES}" == "1" ]; then
#these modules contain native code or data files,
#so they will require special treatment:
#xpra numpy cryptography PIL nacl cffi gtk gobject glib > /dev/null
#xpra numpy cryptography PIL nacl cffi gtk gobject glib aioquic pylsqpack > /dev/null
if [ "${DO_FULL}" == "0" ]; then
rm -fr test unittest gssapi pynvml ldap ldap3 pyasn1 asn1crypto pyu2f sqlite3 psutil
rm -fr test unittest gssapi pynvml ldap ldap3 pyu2f sqlite3 psutil
else
zip --move -ur library.zip test unittest gssapi pynvml ldap ldap3 pyasn1 asn1crypto pyu2f sqlite3 psutil
zip --move -ur library.zip test unittest gssapi pynvml ldap ldap3 pyu2f sqlite3 psutil
fi
zip --move -ur library.zip OpenGL encodings future paramiko html \
aioquic pylsqpack async_timeout \
pyasn1 asn1crypto async_timeout \
certifi OpenSSL pkcs11 keyring \
ifaddr pyaes browser_cookie3 service_identity\
re platformdirs attr setproctitle pyvda zipp \
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2025,6 +2025,10 @@ def add_service_exe(script, icon, base_name):
"ctypes.macholib",
)

if quic_ENABLED:
external_includes += ["pyasn1", "aioquic", "pylsqpack"]
add_modules("aioquic._buffer")

if webcam_ENABLED:
external_includes.append("cv2")
else:
Expand Down

0 comments on commit a5e5276

Please sign in to comment.