Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libglvnd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • glvnd
  • libglvnd
  • Merge requests
  • !157

build: Find Python the Autotools way

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mathieu Bridon requested to merge github/fork/bochecha/python into master Aug 16, 2018
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 4

An added advantage to this is that it makes it really easy to build with Python 3, the same way other Autotools projects support it:

$ export PYTHON=/usr/bin/python3
$ ./configure

By the way, this builds perfectly fine with Python 3. 🙂

Is that something you want to support going forward? Or do you recommend downstreams build with Python 2 for now?

(note that quite a few downstream distributors are trying to remove Python 2 entirely)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/bochecha/python