| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 #!/usr/bin/env python | 
|  | 2 | 
|  | 3 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ | 
|  | 4 # Copyright (c) 2010, Eucalyptus Systems, Inc. | 
|  | 5 # All rights reserved. | 
|  | 6 # | 
|  | 7 # Permission is hereby granted, free of charge, to any person obtaining a | 
|  | 8 # copy of this software and associated documentation files (the | 
|  | 9 # "Software"), to deal in the Software without restriction, including | 
|  | 10 # without limitation the rights to use, copy, modify, merge, publish, dis- | 
|  | 11 # tribute, sublicense, and/or sell copies of the Software, and to permit | 
|  | 12 # persons to whom the Software is furnished to do so, subject to the fol- | 
|  | 13 # lowing conditions: | 
|  | 14 # | 
|  | 15 # The above copyright notice and this permission notice shall be included | 
|  | 16 # in all copies or substantial portions of the Software. | 
|  | 17 # | 
|  | 18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | 
|  | 19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- | 
|  | 20 # ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT | 
|  | 21 # SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | 
|  | 22 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 
|  | 23 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | 
|  | 24 # IN THE SOFTWARE. | 
|  | 25 | 
|  | 26 from __future__ import with_statement | 
|  | 27 | 
|  | 28 try: | 
|  | 29     from setuptools import setup | 
|  | 30     extra = dict(test_suite="tests.test.suite", include_package_data=True) | 
|  | 31 except ImportError: | 
|  | 32     from distutils.core import setup | 
|  | 33     extra = {} | 
|  | 34 | 
|  | 35 import sys | 
|  | 36 | 
|  | 37 from boto import __version__ | 
|  | 38 | 
|  | 39 if sys.version_info <= (2, 4): | 
|  | 40     error = "ERROR: boto requires Python Version 2.5 or above...exiting." | 
|  | 41     print >> sys.stderr, error | 
|  | 42     sys.exit(1) | 
|  | 43 | 
|  | 44 def readme(): | 
|  | 45     with open("README.rst") as f: | 
|  | 46         return f.read() | 
|  | 47 | 
|  | 48 setup(name = "boto", | 
|  | 49       version = __version__, | 
|  | 50       description = "Amazon Web Services Library", | 
|  | 51       long_description = readme(), | 
|  | 52       author = "Mitch Garnaat", | 
|  | 53       author_email = "mitch@garnaat.com", | 
|  | 54       scripts = ["bin/sdbadmin", "bin/elbadmin", "bin/cfadmin", | 
|  | 55                  "bin/s3put", "bin/fetch_file", "bin/launch_instance", | 
|  | 56                  "bin/list_instances", "bin/taskadmin", "bin/kill_instance", | 
|  | 57                  "bin/bundle_image", "bin/pyami_sendmail", "bin/lss3", | 
|  | 58                  "bin/cq", "bin/route53", "bin/cwutil", "bin/instance_events", | 
|  | 59                  "bin/asadmin", "bin/glacier", "bin/mturk"], | 
|  | 60       url = "https://github.com/boto/boto/", | 
|  | 61       packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file", | 
|  | 62                   "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale", | 
|  | 63                   "boto.ec2.elb", "boto.sdb", "boto.cacerts", | 
|  | 64                   "boto.sdb.db", "boto.sdb.db.manager", | 
|  | 65                   "boto.mturk", "boto.pyami", | 
|  | 66                   "boto.pyami.installers", "boto.pyami.installers.ubuntu", | 
|  | 67                   "boto.mashups", "boto.contrib", "boto.manage", | 
|  | 68                   "boto.services", "boto.cloudfront", | 
|  | 69                   "boto.roboto", "boto.rds", "boto.vpc", "boto.fps", | 
|  | 70                   "boto.fps", "boto.emr", "boto.emr", "boto.sns", | 
|  | 71                   "boto.ecs", "boto.iam", "boto.route53", "boto.ses", | 
|  | 72                   "boto.cloudformation", "boto.sts", "boto.dynamodb", | 
|  | 73                   "boto.swf", "boto.mws", "boto.cloudsearch", "boto.glacier", | 
|  | 74                   "boto.beanstalk", "boto.datapipeline", "boto.elasticache", | 
|  | 75                   "boto.elastictranscoder"], | 
|  | 76       package_data = {"boto.cacerts": ["cacerts.txt"]}, | 
|  | 77       license = "MIT", | 
|  | 78       platforms = "Posix; MacOS X; Windows", | 
|  | 79       classifiers = ["Development Status :: 5 - Production/Stable", | 
|  | 80                      "Intended Audience :: Developers", | 
|  | 81                      "License :: OSI Approved :: MIT License", | 
|  | 82                      "Operating System :: OS Independent", | 
|  | 83                      "Topic :: Internet", | 
|  | 84                      "Programming Language :: Python :: 2", | 
|  | 85                      "Programming Language :: Python :: 2.5", | 
|  | 86                      "Programming Language :: Python :: 2.6", | 
|  | 87                      "Programming Language :: Python :: 2.7"], | 
|  | 88       **extra | 
|  | 89       ) | 
| OLD | NEW | 
|---|