Debian (multiarch) support

Issue #5 new
Anselm Kruis
repo owner created an issue

Debian is special.

  1. They compile more modules statically into than a regular build from source does. As a consequence, the modules are not available as dynamically loadable extensions. Issue #4 deals with this problem. The remedy is to add the source of the Modules to the stackless_installer.tar.gz and compile missing modules during the installation using distutils.

  2. Debian and AFAIK Ubuntu nowadays added another complication. It is called MULTIARCH support and modifies the way python computes sys.path and extends the list of module search suffixes (see imp.get_suffixes()). The sys.path case was fixed in issue #2 and then broken again by the fix for issue #4. Currently I'm testing a patch to fix both sys.path and the extended extension list.

The patch works as expected. New installer archives are uploaded.

To update Stackless, force pip to reinstall "stackless-python":

pip install -I stackless-python

Comments (2)

  1. Anselm Kruis reporter

    Required Development Packages

    In order to successfully install stackless-python on a Debian / Ubuntu based system you must install a subset of the build dependencies of python2.7. You can get a complete list of all build dependencies with the command

    apt-cache showsrc python2.7

    The exact list depends on the version of your operation system. A good starting point are the following development packages:

    • python2.7-dev
    • libbluetooth-dev
    • zlib1g-dev
    • libexpat1-dev
  2. Log in to comment