Skip to content

How do you specify which Python version(s) to build against? #956

Open
@salfter

Description

@salfter

The build system appears to just select the newest available Python, as far as I've been able to tell. It's fairly common to have multiple versions installed, but to want most things built against an older, more stable version. Gentoo Linux normally keeps things straight with its distutils-r1 eclass, but right now I have a host where pythonocc was built against Python 3.9 while cadquery (and most everything else) was built against Python 3.8. How do I get pythonocc to build against a specific Python version (or, potentially, multiple versions)?

Update: even after using "eselect python set" to select Python 3.8 as the default, the pythonocc build system still chooses to build against Python 3.9.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions