def deploy_to_s3():
    env.gzip_path = '%(site_path)s/gzip_media/' % env
    run(('s3cmd -P --add-header=Content-encoding:gzip --guess-mime-type --rexclude-from=%(site_path)s/s3exclude sync %(gzip_path)s s3://%(s3_bucket)s/%(project_name)s/%(site_media_prefix)s/') % env)
Constructs a photo object from the Flickr API XML specification.
dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/deploy_to_s3--crossover with--dataset/ETHPy150Open cvondrick/pyvision/vision/flickr.py/Photo.fromapi