Buildpack
Cloud Foundry buildpack environment variables
I recently ran into a situation I hadn’t dealt with before.
A Python app I was working on was loading modules from a location outside of Pythons known locations.
My first instinct was to update the manifest.yml
env
section with a PYTHONPATH
variable that would add this additional location to the Python path but that would not stick.
Using cf set-env
to update the variable after the fact also did not work.