Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Vendoring Conda packages on Cloud Foundry

To include ("vendor") Conda packages when using the official Python Cloud Foundry buildpack, you can include the packages in your uploaded app, and set up a local conda channel to this directory.

In this repo I have included a simple conda package as a vendored dependency in the vendor/ directory.

In my environment.yml file I add a new conda channel which references the local path to this directory, at the time that Cloud Foundry installs the package, which is /tmp/app/vendor.

I also show how you can reference other conda channels such as conda-forge to get access to packages like prettytable.

To try this out with your preferred CF host, simply clone this repo, log in to CF, and cf push.

(My employer Pivotal runs a CF installation with a free trial.)

About

How to use conda channels with Cloud Foundry

Resources

License

Releases

No releases published

Packages

No packages published

Languages