Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting python -m module to work for a module implemented in C
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COWhat tools do you use, what are you trying to achieve, what is the platform? How much of a standard library do you use? Is the module yours and closed-source, or something we can look at? I cannot help without some information.
      singulars
    2. COThanks for the enthusiasm but the issue is far deeper than your questions indicate. The module is written in C using the standard Python approaches for doing that. Start at this page to get an idea: http://docs.python.org/extending/extending.html The "tools" are standard Python mechanism for C extensions, what I am trying to achieve is in the description, all platforms, standard library is not relevant (code is in C not Python), module is mine and open source and sufficiently complex that I recommend using the example module from the python doc page.
      singulars
    3. COHave you ever produced a frozen executable in Python? Depending on the platform, it bundles with all the executable code it needs to run. I once ported a python program to linux, and had to ship libglib and libz along the frozen executable. On Windows, OTOH there is msvcrtxx.dll that you may need to ship as well. Even if you write C program with Python.lib linked statically, you'd need to attach dynamic libraries, which defeats single-file purpose.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload