Is it possible to convert a Python package, with __init__.py and
related python modules, into a single DLL or shared library that can
be imported in the same way?

We have used py2exe and cx_freeze to create a complete executable,
but we are curious whether there is a middle way between this single
executable and distributing all of the source files.

I've been searching the documentation and web but haven't yet found
the magic combination of keywords that throws up what we want. Does
such a possibility exist? If yes, can someone provide me a pointer?

The Background:
We have developed a demonstration tool in Python that parses input
data for ToolA written by CompanyA, converts to our own internal
neutral format, and can write in CompanyB's ToolB format. Now that
the proof of concept has been shown, the companies want to integrate
the conversion directly in their tools, but providing the code for
ToolA to CompanyB raises some issues, and similarly the other way.
Providing a DLL of the ToolA reader to CompanyB, and a DLL of the
ToolB writer to CompanyA might be one way around these issues, but
it's not clear whether this is easy to achieve.

Cheers
Duncan
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to