Can I use a user defined Environment variable inside requirements.txt as a conditional

Viewed 23

I have a usecase where I want to install one of pip package only when a condition passes. Something like, export CI = true and then based on the value of "CI", I want to skip or install a package defined in requirements.txt. I found the usage of environment markers but could not find something that fits my requirement. Any suggestions ?

0 Answers
Related