Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: third_party/gsutil/boto/setup.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/gsutil/boto/pylintrc ('k') | third_party/gsutil/boto/tests/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ 3 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/
4 # Copyright (c) 2010, Eucalyptus Systems, Inc. 4 # Copyright (c) 2010, Eucalyptus Systems, Inc.
5 # All rights reserved. 5 # All rights reserved.
6 # 6 #
7 # Permission is hereby granted, free of charge, to any person obtaining a 7 # Permission is hereby granted, free of charge, to any person obtaining a
8 # copy of this software and associated documentation files (the 8 # copy of this software and associated documentation files (the
9 # "Software"), to deal in the Software without restriction, including 9 # "Software"), to deal in the Software without restriction, including
10 # without limitation the rights to use, copy, modify, merge, publish, dis- 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 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- 12 # persons to whom the Software is furnished to do so, subject to the fol-
13 # lowing conditions: 13 # lowing conditions:
14 # 14 #
15 # The above copyright notice and this permission notice shall be included 15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software. 16 # in all copies or substantial portions of the Software.
17 # 17 #
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 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- 19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
20 # ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 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, 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, 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 23 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24 # IN THE SOFTWARE. 24 # IN THE SOFTWARE.
25 25
26 try: 26 try:
27 from setuptools import setup 27 from setuptools import setup
28 extra = {"test_suite": "tests.test.suite"} 28 extra = dict(test_suite="tests.test.suite", include_package_data=True)
29 except ImportError: 29 except ImportError:
30 from distutils.core import setup 30 from distutils.core import setup
31 extra = {} 31 extra = {}
32 32
33 import sys 33 import sys
34 34
35 from boto import Version 35 from boto import __version__
36 36
37 install_requires = [] 37 if sys.version_info <= (2, 4):
38 maj, min, micro, rel, serial = sys.version_info 38 error = "ERROR: boto requires Python Version 2.5 or above...exiting."
39 if (maj, min) == (2, 4): 39 print >> sys.stderr, error
40 # boto needs hashlib module which is not in py2.4 40 sys.exit(1)
41 install_requires.append("hashlib")
42 41
43 setup(name = "boto", 42 setup(name = "boto",
44 version = Version, 43 version = __version__,
45 description = "Amazon Web Services Library", 44 description = "Amazon Web Services Library",
46 long_description = "Python interface to Amazon's Web Services.", 45 long_description = open("README.rst").read(),
47 author = "Mitch Garnaat", 46 author = "Mitch Garnaat",
48 author_email = "mitch@garnaat.com", 47 author_email = "mitch@garnaat.com",
49 scripts = ["bin/sdbadmin", "bin/elbadmin", "bin/cfadmin", 48 scripts = ["bin/sdbadmin", "bin/elbadmin", "bin/cfadmin",
50 "bin/s3put", "bin/fetch_file", "bin/launch_instance", 49 "bin/s3put", "bin/fetch_file", "bin/launch_instance",
51 "bin/list_instances", "bin/taskadmin", "bin/kill_instance", 50 "bin/list_instances", "bin/taskadmin", "bin/kill_instance",
52 "bin/bundle_image", "bin/pyami_sendmail", "bin/lss3", 51 "bin/bundle_image", "bin/pyami_sendmail", "bin/lss3",
53 "bin/cq", "bin/route53"], 52 "bin/cq", "bin/route53", "bin/s3multiput", "bin/cwutil",
54 install_requires = install_requires, 53 "bin/instance_events", "bin/asadmin"],
55 url = "http://code.google.com/p/boto/", 54 url = "https://github.com/boto/boto/",
56 packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file", 55 packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file",
57 "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale", 56 "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale",
58 "boto.ec2.elb", "boto.sdb", "boto.cacerts", 57 "boto.ec2.elb", "boto.sdb", "boto.cacerts",
59 "boto.sdb.db", "boto.sdb.db.manager", "boto.mturk", 58 "boto.sdb.db", "boto.sdb.db.manager",
60 "boto.pyami", "boto.mashups", "boto.contrib", "boto.manage", 59 "boto.mturk", "boto.pyami",
61 "boto.services", "boto.cloudfront", "boto.roboto", 60 "boto.pyami.installers", "boto.pyami.installers.ubuntu",
62 "boto.rds", "boto.vpc", "boto.fps", "boto.emr", "boto.sns", 61 "boto.mashups", "boto.contrib", "boto.manage",
62 "boto.services", "boto.cloudfront",
63 "boto.roboto", "boto.rds", "boto.vpc", "boto.fps",
64 "boto.fps", "boto.emr", "boto.emr", "boto.sns",
63 "boto.ecs", "boto.iam", "boto.route53", "boto.ses", 65 "boto.ecs", "boto.iam", "boto.route53", "boto.ses",
64 "tests", "tests.devpay", "tests.ec2", "tests.sdb", 66 "boto.cloudformation", "boto.sts", "boto.dynamodb",
65 "tests.sqs", "tests.s3"], 67 "boto.swf"],
68 package_data = {"boto.cacerts": ["cacerts.txt"]},
66 license = "MIT", 69 license = "MIT",
67 platforms = "Posix; MacOS X; Windows", 70 platforms = "Posix; MacOS X; Windows",
68 classifiers = ["Development Status :: 5 - Production/Stable", 71 classifiers = ["Development Status :: 5 - Production/Stable",
69 "Intended Audience :: Developers", 72 "Intended Audience :: Developers",
70 "License :: OSI Approved :: MIT License", 73 "License :: OSI Approved :: MIT License",
71 "Operating System :: OS Independent", 74 "Operating System :: OS Independent",
72 "Topic :: Internet"], 75 "Topic :: Internet",
76 "Programming Language :: Python :: 2",
77 "Programming Language :: Python :: 2.5",
78 "Programming Language :: Python :: 2.6",
79 "Programming Language :: Python :: 2.7"],
73 **extra 80 **extra
74 ) 81 )
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/pylintrc ('k') | third_party/gsutil/boto/tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698