Requirements:
- lodash (or underscore, you may need to change your _ functions to suit)
- Meteor email package
Meteor.startup(function () {
var sendEmail = _.bind(Email.send, Email);
# pipista v2, by pudquick, updated for pythonista 1.5 by jsbain | |
# todo: consolidate unzip, ungzip, unbzip, and untar. tarfile supports compressed archives, so can use that directly. use is_zipfile, is_tarfile rather than magic packet stuff. there is a lot of duplicate code elsewhere that should be modularized | |
# 2) option to use site-packages rather than pypi-modules | |
# 3) make sure to cleanup .tmp on errors. | |
import os, os.path, sys, urllib2, requests, tempfile, zipfile, shutil, gzip, tarfile, xmlrpclib, ConfigParser | |
__pypi_base__ = os.path.abspath(os.path.dirname(__file__)) |