Skip to content

How to build boost python with python3 #72

@indigodomo

Description

@indigodomo

Seems like it should be possible to build boost python with a python3 install from python.org, installed in:

/Library/Frameworks/Python.framework/Versions/3.9

I've tweaked the boost.sh script with:

./bootstrap.sh --with-libraries="$BOOST_LIBS_COMMA" --with-python=python3 --with-python-root=/Library/Frameworks/Python.framework/Versions/3.9/ --with-python-version=3.9

and it still insists on building:

src/boost_1_75_0/macos-build/stage/lib/libboost_python27.a

Given that Apple is going to remove Python in the next version of macOS, it would seem like the need to update the script to build from python.org's default install directory (or at least pass through the appropriate params).

Anyone else tried this and succeeded?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions