Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 518 Bytes

static_macosx_wheels.md

File metadata and controls

20 lines (17 loc) · 518 Bytes
  1. Generate wheels for your distribution:
pip wheel .

this will result in some like TA_Lib-0.4.10-cp36-cp36m-macosx_10_7_x86_64.whl

  1. Install delocate (https://pypi.org/project/delocate/):
pip install delocate
  1. Make sure delocate can find the linked libraries:
delocate-listdeps TA_Lib-0.4.10-cp36-cp36m-macosx_10_7_x86_64.whl
  1. It so, patch the wheel file and get a statically-linked wheel!:
delocate-wheel TA_Lib-0.4.10-cp36-cp36m-macosx_10_7_x86_64.whl