Source

circuits / setup.py

Full commit
James Mills 87fe39a 

James Mills fc02432 
James Mills 990c933 
James Mills 470b19c 
James Mills fc02432 
James Mills 41c7f31 
James Mills 470b19c 
James Mills 41c7f31 
James Mills bc794ae 
James Mills cd14518 

James Mills 470b19c 

James Mills cd14518 
James Mills 470b19c 









James Mills 0e8d4bb 
James Mills 470b19c 


James Mills 0e8d4bb 
James Mills 470b19c 
James Mills 87fe39a 
James Mills fc02432 


James Mills fcc2fda 
James Mills fc02432 
James Mills 4a2d47f 
James Mills fc02432 
James Mills a3e9497 

James Mills 87fe39a 
James Mills f805a27 


James Mills b322c7d 
James Mills a3e9497 
James Mills c15d2e4 
James Mills 4a2d47f 
James Mills b322c7d 




James Mills ea46f98 
James Mills b322c7d 













James Mills ea46f98 

James Mills b322c7d 
James Mills f805a27 

James Mills b322c7d 















James Mills 990c933 
James Mills b322c7d 

Daniele Tricoli 3c39e97 
jmills 8c66de8 
James Mills f805a27 

James Mills 87fe39a 
James Mills 809a40e 
#!/usr/bin/env python

import os
from glob import glob
from distutils.util import convert_path

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


def find_packages(where=".", exclude=()):
    """Borrowed directly from setuptools"""

    out = []
    stack = [(convert_path(where), "")]
    while stack:
        where, prefix = stack.pop(0)
        for name in os.listdir(where):
            fn = os.path.join(where, name)
            if ("." not in name and os.path.isdir(fn) and
                    os.path.isfile(os.path.join(fn, "__init__.py"))):
                out.append(prefix + name)
                stack.append((fn, prefix + name + "."))

    from fnmatch import fnmatchcase
    for pat in list(exclude) + ["ez_setup"]:
        out = [item for item in out if not fnmatchcase(item, pat)]

    return out

path = os.path.abspath(os.path.dirname(__file__))
try:
    README = open(os.path.join(path, "README.rst")).read()
    RELEASE = open(os.path.join(path, "RELEASE.rst")).read()
except IOError:
    README = RELEASE = ""

import circuits

setup(
    #cmdclass={
    #    "test": Test,
    #},
    name="circuits",
    version=circuits.__version__,
    description="Asynchronous Component based Event Application Framework",
    long_description="%s\n\n%s" % (README, RELEASE),
    author="James Mills",
    author_email="James Mills, prologic at shortcircuit dot net dot au",
    url="http://bitbucket.org/prologic/circuits/",
    download_url="http://bitbucket.org/prologic/circuits/downloads/",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: No Input/Output (Daemon)",
        "Environment :: Other Environment",
        "Environment :: Plugins",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Science/Research",
        "Intended Audience :: System Administrators",
        "Intended Audience :: Telecommunications Industry",
        "License :: OSI Approved",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: POSIX :: Linux",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows :: Windows NT/2000",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.2",
        "Topic :: Adaptive Technologies",
        "Topic :: Communications :: Chat :: Internet Relay Chat",
        "Topic :: Communications :: Email :: Mail Transport Agents",
        "Topic :: Database",
        "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
        "Topic :: Software Development :: Libraries :: Application Frameworks",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: System :: Clustering",
        "Topic :: System :: Distributed Computing"],
    license="MIT",
    keywords="event framework distributed concurrent component asynchronous",
    platforms="POSIX",
    packages=find_packages("."),
    scripts=glob("scripts/*"),
    entry_points="""
    [console_scripts]
    circuits.web = circuits.web.main:main
    """,
    zip_safe=False,
    test_suite="tests.main.runtests",
)

# hghooks: no-pyflakes