Skip to content

Instantly share code, notes, and snippets.

@mechastorm
Last active October 23, 2017 22:32
Show Gist options
  • Save mechastorm/78c131ce672e5ffa6fd8ac12c872caed to your computer and use it in GitHub Desktop.
Save mechastorm/78c131ce672e5ffa6fd8ac12c872caed to your computer and use it in GitHub Desktop.
Installing Cloud Custodian Mailer
# Source from https://github.com/capitalone/cloud-custodian/tree/master/tools/c7n_mailer
git clone https://github.com/capitalone/cloud-custodian
# Not mentioned in docs, you should run from the root of the repo
cd cloud-custodian
virtualenv c7n_mailer
source c7n_mailer/bin/activate
# In the README, it mentions to instead `cd c7n_mailer` but that goes to the virualenv environment, that has no requirements.txt
cd tools/c7n_mailer
pip install -r requirements.txt
# Even if the docs says it is to install extensions, this actually installs the CLI
python setup.py develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment