Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.extension bob.extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.extensionbob.extension
  • Issues
  • #38
Closed
Open
Issue created May 03, 2017 by Amir MOHAMMADI@amohammadiOwner0 of 13 checklist items completed0/13 checklist items

Add support for reading and parsing conda build recipes

Following the discussion on bob.admin#35 (closed) and some offline discussion with @andre.anjos, we want to move all our CI infrastructure and packages to conda. This will cause some duplication of information that you would have both in the conda recipe and in the setup.py file.

To keep only one source of information, we decided to make the meta.yaml the authoritative source of information. This means that we populate the information in setup.py from the meta.yaml file. Here is a list of tasks or information that should be gotten from meta.yaml file:

  • bob.extension will use pyyaml and jinja2 to parse the yaml file
  • Make CONDA_BUILD=0 in the jinja2 context parser to get only the PyPI requirements.
  • Accomodate for name differences between conda packages and PyPI package names if any
  • package name
  • package version
  • package PyPI requirements
  • console entry points
  • home website
  • license
  • short description
  • setup_requires
  • install_requires
  • test_requires

Maybe we can have a function in bob.extension that reads the yaml file and returns this information in a dictionary format.

Edited May 16, 2022 by Amir MOHAMMADI
Assignee
Assign to
Time tracking