Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 82 lines (75 sloc) 3.819 kb
8f68784 @bradleyayers * setup.py syntax is now more consistent.
bradleyayers authored
1 #!/usr/bin/env python
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
2
209bb10 Adding the gs and file modules to list of packages. Fixes issue 406.
Mitch.Garnaat authored
3 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/
4 # Copyright (c) 2010, Eucalyptus Systems, Inc.
5 # All rights reserved.
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
6 #
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
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:
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
14 #
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software.
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
17 #
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
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
898f5e9 @jtriley add hashlib to install_requires in setup.py (py24)
jtriley authored
21 # SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
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.
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
25
3b44b1c A working version, at last.
Mitch.Garnaat authored
26 try:
27 from setuptools import setup
25435d0 @jtriley move setuptools-specific kwargs to 'extra' dict
jtriley authored
28 extra = dict(test_suite="tests.test.suite", include_package_data=True)
3b44b1c A working version, at last.
Mitch.Garnaat authored
29 except ImportError:
30 from distutils.core import setup
8f68784 @bradleyayers * setup.py syntax is now more consistent.
bradleyayers authored
31 extra = {}
3b44b1c A working version, at last.
Mitch.Garnaat authored
32
898f5e9 @jtriley add hashlib to install_requires in setup.py (py24)
jtriley authored
33 import sys
34
6cadd84 @garnaat Explicitly add cacerts.txt to MANIFEST.in to make sure it is included in...
garnaat authored
35 from boto import __version__
3b44b1c A working version, at last.
Mitch.Garnaat authored
36
6abd244 @jtriley setup.py: raise error if Python <= 2.4
jtriley authored
37 if sys.version_info <= (2, 4):
38 error = "ERROR: boto requires Python Version 2.5 or above...exiting."
39 print >> sys.stderr, error
40 sys.exit(1)
898f5e9 @jtriley add hashlib to install_requires in setup.py (py24)
jtriley authored
41
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
42 setup(name = "boto",
6cadd84 @garnaat Explicitly add cacerts.txt to MANIFEST.in to make sure it is included in...
garnaat authored
43 version = __version__,
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
44 description = "Amazon Web Services Library",
dce4e48 @jtriley use contents of README.rst for long_description
jtriley authored
45 long_description = open("README.rst").read(),
8cb7f65 fixed values for my package rather than the one I copied from.
Mitch.Garnaat authored
46 author = "Mitch Garnaat",
47 author_email = "mitch@garnaat.com",
898f5e9 @jtriley add hashlib to install_requires in setup.py (py24)
jtriley authored
48 scripts = ["bin/sdbadmin", "bin/elbadmin", "bin/cfadmin",
49 "bin/s3put", "bin/fetch_file", "bin/launch_instance",
50 "bin/list_instances", "bin/taskadmin", "bin/kill_instance",
a03a746 Forgot to add boto.route53 to list of modules.
Mitch Garnaat authored
51 "bin/bundle_image", "bin/pyami_sendmail", "bin/lss3",
526377e @garnaat Adding new instance_events script to setup.py. Related to #429.
garnaat authored
52 "bin/cq", "bin/route53", "bin/s3multiput", "bin/cwutil",
aca42e5 @moliware Command line tool for amazon glacier
moliware authored
53 "bin/instance_events", "bin/asadmin", "bin/glacier"],
f221d39 @garnaat Bumping version number and changing project home page in setup.py.
garnaat authored
54 url = "https://github.com/boto/boto/",
8f68784 @bradleyayers * setup.py syntax is now more consistent.
bradleyayers authored
55 packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file",
56 "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale",
57 "boto.ec2.elb", "boto.sdb", "boto.cacerts",
e34453b @garnaat Fixing setup.py and MANIFEST to make a clean release with setup.py sdist...
garnaat authored
58 "boto.sdb.db", "boto.sdb.db.manager",
d062caf @garnaat Removed duplicate entries for boto.mturk package.
garnaat authored
59 "boto.mturk", "boto.pyami",
e34453b @garnaat Fixing setup.py and MANIFEST to make a clean release with setup.py sdist...
garnaat authored
60 "boto.pyami.installers", "boto.pyami.installers.ubuntu",
61 "boto.mashups", "boto.contrib", "boto.manage",
f797759 @garnaat Tests need to be in the source distro but shouldn't be installed. Also,...
garnaat authored
62 "boto.services", "boto.cloudfront",
e34453b @garnaat Fixing setup.py and MANIFEST to make a clean release with setup.py sdist...
garnaat authored
63 "boto.roboto", "boto.rds", "boto.vpc", "boto.fps",
3ef9cbf @kopertop Removed tests from the setup.py file, as they're no longer to be
kopertop authored
64 "boto.fps", "boto.emr", "boto.emr", "boto.sns",
8427d86 @mumrah Registering new module in auth handler, setup.py, etc
mumrah authored
65 "boto.ecs", "boto.iam", "boto.route53", "boto.ses",
5474a41 @garnaat Add swf to list of modules and to reference documentation.
garnaat authored
66 "boto.cloudformation", "boto.sts", "boto.dynamodb",
aca42e5 @moliware Command line tool for amazon glacier
moliware authored
67 "boto.swf", "boto.mws", "boto.cloudsearch", "boto.glacier"],
c4c126d @mbr Make cacerts.txt package data instead of just including it in source
mbr authored
68 package_data = {"boto.cacerts": ["cacerts.txt"]},
8f68784 @bradleyayers * setup.py syntax is now more consistent.
bradleyayers authored
69 license = "MIT",
70 platforms = "Posix; MacOS X; Windows",
71 classifiers = ["Development Status :: 5 - Production/Stable",
72 "Intended Audience :: Developers",
73 "License :: OSI Approved :: MIT License",
74 "Operating System :: OS Independent",
4f71366 @garnaat Adding trove classifier for python version.
garnaat authored
75 "Topic :: Internet",
a04c47d @garnaat Messing around with trove classifiers again.
garnaat authored
76 "Programming Language :: Python :: 2",
77 "Programming Language :: Python :: 2.5",
78 "Programming Language :: Python :: 2.6",
79 "Programming Language :: Python :: 2.7"],
8f68784 @bradleyayers * setup.py syntax is now more consistent.
bradleyayers authored
80 **extra
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
81 )
Something went wrong with that request. Please try again.