Skip to content

Instantly share code, notes, and snippets.

@steve-s
Created July 21, 2022 15:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save steve-s/bdef256b4fa22d162f3b20d00977c233 to your computer and use it in GitHub Desktop.
def __bootstrap__():
from sys import modules
from hpy.universal import load
from pkg_resources import resource_filename
ext_filepath = resource_filename(__name__, 'kiwisolver.hpy.so')
m = load('kiwisolver', ext_filepath, debug=is_debug)
modules[__name__] = m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment