| 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 try: | |
| 27 from setuptools import setup | |
| 28 extra = {"test_suite": "tests.test.suite"} | |
| 29 except ImportError: | |
| 30 from distutils.core import setup | |
| 31 extra = {} | |
| 32 | |
| 33 import sys | |
| 34 | |
| 35 from boto import Version | |
| 36 | |
| 37 install_requires = [] | |
| 38 maj, min, micro, rel, serial = sys.version_info | |
| 39 if (maj, min) == (2, 4): | |
| 40 # boto needs hashlib module which is not in py2.4 | |
| 41 install_requires.append("hashlib") | |
| 42 | |
| 43 setup(name = "boto", | |
| 44 version = Version, | |
| 45 description = "Amazon Web Services Library", | |
| 46 long_description = "Python interface to Amazon's Web Services.", | |
| 47 author = "Mitch Garnaat", | |
| 48 author_email = "mitch@garnaat.com", | |
| 49 scripts = ["bin/sdbadmin", "bin/elbadmin", "bin/cfadmin", | |
| 50 "bin/s3put", "bin/fetch_file", "bin/launch_instance", | |
| 51 "bin/list_instances", "bin/taskadmin", "bin/kill_instance", | |
| 52 "bin/bundle_image", "bin/pyami_sendmail", "bin/lss3", | |
| 53 "bin/cq", "bin/route53"], | |
| 54 install_requires = install_requires, | |
| 55 url = "http://code.google.com/p/boto/", | |
| 56 packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file", | |
| 57 "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale", | |
| 58 "boto.ec2.elb", "boto.sdb", "boto.cacerts", | |
| 59 "boto.sdb.db", "boto.sdb.db.manager", "boto.mturk", | |
| 60 "boto.pyami", "boto.mashups", "boto.contrib", "boto.manage", | |
| 61 "boto.services", "boto.cloudfront", "boto.roboto", | |
| 62 "boto.rds", "boto.vpc", "boto.fps", "boto.emr", "boto.sns", | |
| 63 "boto.ecs", "boto.iam", "boto.route53", "boto.ses", | |
| 64 "tests", "tests.devpay", "tests.ec2", "tests.sdb", | |
| 65 "tests.sqs", "tests.s3"], | |
| 66 license = "MIT", | |
| 67 platforms = "Posix; MacOS X; Windows", | |
| 68 classifiers = ["Development Status :: 5 - Production/Stable", | |
| 69 "Intended Audience :: Developers", | |
| 70 "License :: OSI Approved :: MIT License", | |
| 71 "Operating System :: OS Independent", | |
| 72 "Topic :: Internet"], | |
| 73 **extra | |
| 74 ) | |
| OLD | NEW |