Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 120
    • Merge requests 120
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1260

Merged
Created Sep 20, 2022 by Jérome Perrin@jeromeOwner

component/glib: set --with-python to generate scripts with slapos python

  • Overview 11
  • Commits 4
  • Pipelines 3
  • Changes 6

glib configure script uses by default python2.7 to substitute in scripts, but it also supports --with-python argument. Since the scripts support python2 or python3, we can use the full path of the python used by buildout. This will sometimes create shebang lines like:

#!/usr/bin/env /path/to/slapos/python3/bin/python

but this also work fine.

This replaces the following commits:

  • 7581b668 (component/glib: remove bad file bin/gtester-report after compilation, 2020-08-07)
  • 9c47f828 (componnent/gtk-2: Add python2.7 as the dependency of pango, 2022-08-18)
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/glib-python
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7