~tribaal/txaws/xss-hardening

57 by Duncan McGreggor
Added a python setup file for installation.
1
from distutils.core import setup
2
from glob import glob
3
import os
4
5
from txaws import version
6
7
8
long_description = """
9
Twisted-based Asynchronous Libraries for Amazon Web Services and Eucalyptus
10
private clouds This project's goal is to have a complete Twisted API
11
representing the spectrum of Amazon's web services as well as support for
12
Eucalyptus clouds.
13
"""
14
15
16
def find_packages():
17
    """
18
    Compatibility wrapper.
19
20
    Taken from storm setup.py.
21
    """
22
    try:
23
        from setuptools import find_packages
24
        return find_packages()
25
    except ImportError:
26
        pass
27
    packages = []
28
    for directory, subdirectories, files in os.walk("txaws"):
29
        if '__init__.py' in files:
30
            packages.append(directory.replace(os.sep, '.'))
31
    return packages
32
33
34
setup(
35
    name="txAWS",
36
    version=version.txaws,
37
    description="Async library for EC2 and Eucalyptus",
38
    author="txAWS Developers",
39
    author_email="txaws-discuss@lists.launchpad.net",
40
    url="https://launchpad.net/txaws",
41
    license="MIT",
42
    packages=find_packages(),
43
    scripts=glob("./bin/*"),
44
    long_description=long_description,
45
    classifiers=[
46
        "Development Status :: 4 - Beta",
47
        "Intended Audience :: Developers",
58 by Duncan McGreggor
Updated the classifiers in setup.py.
48
        "Intended Audience :: System Administrators",
49
        "Intended Audience :: Information Technology",
57 by Duncan McGreggor
Added a python setup file for installation.
50
        "Programming Language :: Python",
51
        "Topic :: Database",
58 by Duncan McGreggor
Updated the classifiers in setup.py.
52
        "Topic :: Internet :: WWW/HTTP",
53
        "License :: OSI Approved :: MIT License",
57 by Duncan McGreggor
Added a python setup file for installation.
54
       ],
55
    )
56