Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 81 lines (74 sloc) 3.775 kb
8f68784 Bradley Ayers * 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 Justin Riley 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 Justin Riley 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 Bradley Ayers * setup.py syntax is now more consistent.
bradleyayers authored
31 extra = {}
3b44b1c A working version, at last.
Mitch.Garnaat authored
32
898f5e9 Justin Riley add hashlib to install_requires in setup.py (py24)
jtriley authored
33 import sys
34
6cadd84 Mitch 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 Justin Riley 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 Justin Riley 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 Mitch 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",
8f68784 Bradley Ayers * setup.py syntax is now more consistent.
bradleyayers authored
45 long_description = "Python interface to Amazon's Web Services.",
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 Justin Riley 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 Mitch Garnaat Adding new instance_events script to setup.py. Related to #429.
garnaat authored
52 "bin/cq", "bin/route53", "bin/s3multiput", "bin/cwutil",
e34453b Mitch Garnaat Fixing setup.py and MANIFEST to make a clean release with setup.py sdist...
garnaat authored
53 "bin/instance_events", "bin/asadmin"],
f221d39 Mitch Garnaat Bumping version number and changing project home page in setup.py.
garnaat authored
54 url = "https://github.com/boto/boto/",
8f68784 Bradley Ayers * 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 Mitch 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",
59 "boto.mturk", "boto.mturk.test", "boto.pyami",
60 "boto.pyami.installers", "boto.pyami.installers.ubuntu",
61 "boto.mashups", "boto.contrib", "boto.manage",
f797759 Mitch Garnaat Tests need to be in the source distro but shouldn't be installed. Also,...
garnaat authored
62 "boto.services", "boto.cloudfront",
e34453b Mitch 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",
64 "boto.fps.test", "boto.emr", "boto.emr.tests", "boto.sns",
8427d86 David Arthur Registering new module in auth handler, setup.py, etc
mumrah authored
65 "boto.ecs", "boto.iam", "boto.route53", "boto.ses",
37cfd1a Mitch Garnaat Adding boto.dynamodb to list of packages in setup.py. Thought this was ...
garnaat authored
66 "boto.cloudformation", "boto.sts", "boto.dynamodb"],
c4c126d Marc Brinkmann Make cacerts.txt package data instead of just including it in source
mbr authored
67 package_data = {"boto.cacerts": ["cacerts.txt"]},
8f68784 Bradley Ayers * setup.py syntax is now more consistent.
bradleyayers authored
68 license = "MIT",
69 platforms = "Posix; MacOS X; Windows",
70 classifiers = ["Development Status :: 5 - Production/Stable",
71 "Intended Audience :: Developers",
72 "License :: OSI Approved :: MIT License",
73 "Operating System :: OS Independent",
4f71366 Mitch Garnaat Adding trove classifier for python version.
garnaat authored
74 "Topic :: Internet",
a04c47d Mitch Garnaat Messing around with trove classifiers again.
garnaat authored
75 "Programming Language :: Python :: 2",
76 "Programming Language :: Python :: 2.5",
77 "Programming Language :: Python :: 2.6",
78 "Programming Language :: Python :: 2.7"],
8f68784 Bradley Ayers * setup.py syntax is now more consistent.
bradleyayers authored
79 **extra
5d5aa35 Initial version of code. Still not complete for correct but passes simp...
Mitch.Garnaat authored
80 )
Something went wrong with that request. Please try again.