Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1456

pygolang: Provide python-interpreter:exe

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kirill Smelkov requested to merge kirr/slapos:y/py-exe into master Oct 25, 2023
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 5

During my recent work I needed to use path for generated interpreter in several places and found the need to repeat {buildout:bin-directory}/{python-interpreter:interpreter} both tiring and error-prone, because the knowledge where executable is placed is implicitly used and relied upon.

On the other hand:

  • pygolang already provides ${gpython:exe} as reference to the place where gpython is installed (see e1d269b4)

  • pygolang already uses :exe for interpreter generated to accompany pyprog (see 0ee52376 and e328aa49)

So python-interpreter not providing :exe is an oversight and the logical fix is to start providing python-interpreter:exe as well.

-> Do it and convert */software.cfg throughout the tree, where python-interpreter is found, to use it.

/cc @jerome, @Tyagov, @alain.takoudjou, @xavier_thompson, @levin.zimmermann

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: y/py-exe
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7