Recursive requirements in Conda environment.yaml

Multi tool use
Recursive requirements in Conda environment.yaml
Python pip supports recursive requirements in the requirements.txt. Is this possible with Conda environment.yaml files as well?
What I want to archive is this:
Tensorflow comes in two flavors: with GPU support (tensorflow-gpu) and without GPU support (tensorflow). My intention is to support installation of both flavors.
For pip I create 3 files:
This way I can define most of the requirements in a single place, which makes this whole setup much more reliable.
Is the same approach possible with Conda? If not, is there maybe a different way to the same result?
Sure, updated the original question with some more context.
– eega
1 hour ago
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
could you please provide more details about context, so that would be easier to discuss..
– Andriy Ivaneyko
2 hours ago