got my 64-bit development environment done cheaply using debootstrap --arch=amd64 wheezy /opt/wheezy64, chrooting in using chroot.sh, and installing a bunch of packages. I also learned that installing a package using pip under a virtualenv includes a .libs subdirectory under virtualenv/lib/python2.7/site-packages/<packagename>, which contains any shared objects needed by the package. so just copy those directories into the deployment root and you're all set. at least it worked for PIL, I realized I didn't need lxml so I scrubbed it.
still not out of the woods. my Lambda function gets only so far as to attempt a PutObject into an S3 bucket, and fails with a permissions error. I've obviously not written my policy statement JSON in a manner that pleases the AWS gods.
Back to blog or home page
last updated 2016-11-28 00:51:49. served from tektonic