Embedding a python module in libpython.a

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mrstephengross

    #1

    Embedding a python module in libpython.a

    Ok, I'm trying to build libpython.a. It's version 1.5.2 (I know it's an
    old version, but I need to get it to work if at all possible). I want
    to find a way to make sure the module copy_reg is present in the
    libpython.a. I know all about editing the Modules/Setup file to put in
    additional modules, but there's no pre-existing line in Modules/Setup
    for copy_reg. The .py itself is in the Lib directory, though. Is there
    a straight-forward way to do this?

    Thanks,
    --Steve (mrstephengross @hotmail.com)

Working...