I would like to have a single recipe to build all my individual python packages in my repository. (There are multiple ones here.) This is how the repo is structured:
repo
|--package1
|--setup.py
|--package2
|--setup.py
|--package3
|--setup.py
|--recipe
|--meta.yaml
I would like to build each package in the following manner:
conda build recipe/ --variants "{'package':['package1','package2','package3']}"
This should allow me to pickup the package and set the path accordingly in the meta.yaml file:
source:
path: ../{{ package }}
- Is is possible to access the variants data from within the recipe?
- If not, are there alternatives to achieve this?