> But why should .pyd files be handled differently than DLLs? They are> 
> basically the same thing. On Linux, there is not even such a distinction

Okay, I understand. But let's look at it from another perspective.
Cython allows me to convery each of my .py source files into .pyd
file, which are harder to decode and that's why I'm doing it. Each of
these .pyd files is treated the same as .py file, the application
works exactly the same, I only have to create a wrapper.py which makes
all imports extracted from all .py sources (so pyinstaller includes
all needed dependencies) and then I call main from the .pyd file.

> DLLs from within a packed archive (it could maybe work if the DLL was
> embedded as resource in the exe, not within the archive, but that is not
> currently supported).

That might solve the problem.

I don't know how to do that, but I know how to compile .py files
into .pyd using Cython, and I've created a tool that automatically
extracts dependencies from .py files and creates a wrapper that
imports all required modules and calls main function on main pyd file.

I would be happy to implement such tool for pyinstaller, that would
allow our applications sources to be more secure. It could be added as
an option in pyinstaller (as it requires installing Cython).

Czarek.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to