Skip to content

Commit 8a86ca9

Browse files
committed
makewheel: don't include libpythonX.Y.a in wheel
Fixes panda3d#839
1 parent 0b87673 commit 8a86ca9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

makepanda/makewheel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,10 @@ def makewheel(version, output_dir, platform=None):
732732
pylib_path = os.path.join(libdir, pylib_arch, pylib_name)
733733
else:
734734
pylib_path = os.path.join(libdir, pylib_name)
735-
whl.write_file('deploy_libs/' + pylib_name, pylib_path)
735+
736+
# If Python was linked statically, we don't need to include this.
737+
if not pylib_name.endswith('.a'):
738+
whl.write_file('deploy_libs/' + pylib_name, pylib_path)
736739

737740
whl.close()
738741

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy