is it safe to remove the header files if I use cffi on the embedded version of python in Windows?

Issue #274 closed
Sean D. Hunt
created an issue

I am wondering but is it safe for me to remove the 3 header fiels to save disk space and to also make things easier for me. But yet have it still work as needed.

Comments (2)

  1. Armin Rigo

    I'd recommend http://stackoverflow.com/ to ask general questions. But to answer you: the header files are used only when building the cffi module (i.e. running the file with set_source() and compile() that produces the .so, assuming this is what you're doing). The actual program only needs the compiled .so. You can even remove the cffi package (i.e. all .py files inside cffi) and keep only _cffi_backend.so together with your own compiled .so, if you are short on space.

  2. Log in to comment