title: cffi embedding_init_code import custom py files
body: <p>i am trying to convert my python code to dll, in the code below under <code>ffi.embedding_init_code</code> i can import packages which i have installed with pip or conda like cv2, numpy, pil etc but i have created python file my_tools.py this is giving error while accessing the dll. <strong>&quot;ModuleNotfoundError: no module named 'my_tools' &quot;</strong></p>
  <pre><code>import re
  import cffi
  ffi = cffi.FFI()
  with open('plugin.h') as f:
      include = f.read()
  
  ffi.embedding_api(include)
  
  ffi.set_source(&quot;my_plugin&quot;, 
          re.sub(r'^extern(?=\s)', 'CFFI_DLLEXPORT', include, flags=re.M))
  
  ffi.embedding_init_code(&quot;&quot;&quot;
      from my_plugin import ffi, lib
      import keras_ocr
      import my_tools # as m_tools
      import logging
      import sys
      import cv2
      import numpy as np
      from PIL import Image
      import io
      import base64
  
      @ffi.def_extern()
      def hello(out_result):
          out_result=ffi.string(out_result)
          print(&quot;hello python=&quot;+str(out_result))
          return 0
  &quot;&quot;&quot;)
  ffi.cdef(&quot;&quot;&quot;
      char *strdup(const char *);
  &quot;&quot;&quot;)
  ffi.compile(target=&quot;plugin-1.5.*&quot;, verbose=True)
  </code></pre>
  <p>below is my plugin.h</p>
  <pre><code>extern int hello(char* out_result);
  </code></pre>
  <p>how can import my own created file here.</p>