Skip to content

ihuston/conda-channels-on-cf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages