Exemplo n.º 1
0
def main():
    # Make sure the to-be-installed version of Twisted is used, if available,
    # since we're importing from it:
    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    from twisted.python.dist import (STATIC_PACKAGE_METADATA, getExtensions,
                                     getScripts, setup)

    args = STATIC_PACKAGE_METADATA.copy()
    args.update(
        dict(
            cmdclass={
                'build_py': PickyBuildPy,
                'build_scripts': PickyBuildScripts,
            },
            packages=find_packages(),
            conditionalExtensions=getExtensions(),
            install_requires=["zope.interface >= 4.0.2"],
            zip_safe=False,
            include_package_data=True,
            scripts=getScripts(),
        ))

    setup(**args)
Exemplo n.º 2
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    # On Python 3, use setup3.py until Python 3 port is done:
    if sys.version_info[0] > 2:
        import setup3
        setup3.main()
        return

    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    requirements = ["zope.interface >= 3.6.0"]

    from twisted.python.dist import (STATIC_PACKAGE_METADATA, getExtensions,
                                     getScripts, setup, _EXTRAS_REQUIRE)

    setup_args = STATIC_PACKAGE_METADATA.copy()

    setup_args.update(
        dict(
            packages=setuptools.find_packages(),
            install_requires=requirements,
            conditionalExtensions=getExtensions(),
            scripts=getScripts(),
            include_package_data=True,
            zip_safe=False,
            extras_require=_EXTRAS_REQUIRE,
        ))

    setup(**setup_args)
Exemplo n.º 3
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    # On Python 3, use setup3.py until Python 3 port is done:
    if sys.version_info[0] > 2:
        import setup3
        setup3.main()
        return

    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    requirements = ["zope.interface >= 3.6.0"]

    from twisted.python.dist import (
        STATIC_PACKAGE_METADATA, getExtensions, getScripts,
        setup, _EXTRAS_REQUIRE)

    setup_args = STATIC_PACKAGE_METADATA.copy()

    setup_args.update(dict(
        packages=setuptools.find_packages(),
        install_requires=requirements,
        conditionalExtensions=getExtensions(),
        scripts=getScripts(),
        include_package_data=True,
        zip_safe=False,
        extras_require=_EXTRAS_REQUIRE,
    ))

    setup(**setup_args)
Exemplo n.º 4
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    if sys.version_info[0] >= 3:
        requirements = ["zope.interface >= 4.0.2"]
    else:
        requirements = ["zope.interface >= 3.6.0"]

    from twisted.python.dist import (STATIC_PACKAGE_METADATA, getExtensions,
                                     getConsoleScripts, setup, _EXTRAS_REQUIRE)

    setup_args = STATIC_PACKAGE_METADATA.copy()

    setup_args.update(
        dict(
            packages=setuptools.find_packages(),
            install_requires=requirements,
            conditionalExtensions=getExtensions(),
            entry_points={'console_scripts': getConsoleScripts()},
            include_package_data=True,
            zip_safe=False,
            extras_require=_EXTRAS_REQUIRE,
        ))

    if sys.version_info[0] >= 3:
        setup_args.update(dict(cmdclass={
            'build_py': PickyBuildPy,
        }))

    setup(**setup_args)
Exemplo n.º 5
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    if os.path.exists('twisted'):
        sys.path.insert(0, '.')
    from twisted import copyright
    from twisted.python.dist import getDataFiles, getExtensions, getScripts, \
        getPackages, setup, twisted_subprojects

    # "" is included because core scripts are directly in bin/
    projects = [''] + [x for x in os.listdir('bin')
                       if os.path.isdir(os.path.join("bin", x))
                       and x in twisted_subprojects]

    scripts = []
    for i in projects:
        scripts.extend(getScripts(i))

    setup_args = dict(
        # metadata
        name="Twisted",
        version=copyright.version,
        description="An asynchronous networking framework written in Python",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Glyph Lefkowitz",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/",
        license="MIT",
        long_description="""\
An extensible framework for Python programming, with special focus
on event-based network programming and multiprotocol integration.
""",
        packages = getPackages('twisted'),
        conditionalExtensions = getExtensions(),
        scripts = scripts,
        data_files=getDataFiles('twisted'),
        classifiers=[
            "Programming Language :: Python :: 2.5",
            "Programming Language :: Python :: 2.6",
            "Programming Language :: Python :: 2.7",
            ])

    if 'setuptools' in sys.modules:
        from pkg_resources import parse_requirements
        requirements = ["zope.interface"]
        try:
            list(parse_requirements(requirements))
        except:
            print """You seem to be running a very old version of setuptools.
This version of setuptools has a bug parsing dependencies, so automatic
dependency resolution is disabled.
"""
        else:
            setup_args['install_requires'] = requirements
        setup_args['include_package_data'] = True
        setup_args['zip_safe'] = False
    setup(**setup_args)
Exemplo n.º 6
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    # On Python 3, use setup3.py until Python 3 port is done:
    if sys.version_info[0] > 2:
        import setup3

        setup3.main()
        return

    if os.path.exists("twisted"):
        sys.path.insert(0, ".")

    setup_args = {}

    if "setuptools" in sys.modules:
        from pkg_resources import parse_requirements

        requirements = ["zope.interface >= 3.6.0"]
        try:
            list(parse_requirements(requirements))
        except:
            print(
                """You seem to be running a very old version of setuptools.
This version of setuptools has a bug parsing dependencies, so automatic
dependency resolution is disabled.
"""
            )
        else:
            setup_args["install_requires"] = requirements
        setup_args["include_package_data"] = True
        setup_args["zip_safe"] = False

    from twisted.python.dist import (
        STATIC_PACKAGE_METADATA,
        getDataFiles,
        getExtensions,
        getAllScripts,
        getPackages,
        setup,
        _EXTRAS_REQUIRE,
    )

    scripts = getAllScripts()

    setup_args.update(
        dict(
            packages=getPackages("twisted"),
            conditionalExtensions=getExtensions(),
            scripts=scripts,
            extras_require=_EXTRAS_REQUIRE,
            data_files=getDataFiles("twisted"),
            **STATIC_PACKAGE_METADATA
        )
    )

    setup(**setup_args)
Exemplo n.º 7
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    if os.path.exists('twisted'):
        sys.path.insert(0, '.')
    from twisted import copyright
    from twisted.python.dist import getDataFiles, getExtensions, getScripts, \
        getPackages, setup, twisted_subprojects

    # "" is included because core scripts are directly in bin/
    projects = [''] + [x for x in os.listdir('bin')
                       if os.path.isdir(os.path.join("bin", x))
                       and x in twisted_subprojects]

    scripts = []
    for i in projects:
        scripts.extend(getScripts(i))

    setup_args = dict(
        # metadata
        name="Twisted",
        version=copyright.version,
        description="An asynchronous networking framework written in Python",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Glyph Lefkowitz",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/",
        license="MIT",
        long_description="""\
An extensible framework for Python programming, with special focus
on event-based network programming and multiprotocol integration.
""",
        packages = getPackages('twisted'),
        conditionalExtensions = getExtensions(),
        scripts = scripts,
        data_files=getDataFiles('twisted'),
        classifiers=[
            "Programming Language :: Python :: 2.6",
            "Programming Language :: Python :: 2.7",
            ])

    if 'setuptools' in sys.modules:
        from pkg_resources import parse_requirements
        requirements = ["zope.interface"]
        try:
            list(parse_requirements(requirements))
        except:
            print("""You seem to be running a very old version of setuptools.
This version of setuptools has a bug parsing dependencies, so automatic
dependency resolution is disabled.
""")
        else:
            setup_args['install_requires'] = requirements
        setup_args['include_package_data'] = True
        setup_args['zip_safe'] = False
    setup(**setup_args)
Exemplo n.º 8
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    # On Python 3, use setup3.py until Python 3 port is done:
    if sys.version_info[0] > 2:
        import setup3
        setup3.main()
        return

    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    setup_args = {}

    if 'setuptools' in sys.modules:
        from pkg_resources import parse_requirements
        requirements = ["zope.interface >= 3.6.0"]
        try:
            list(parse_requirements(requirements))
        except:
            print("""You seem to be running a very old version of setuptools.
This version of setuptools has a bug parsing dependencies, so automatic
dependency resolution is disabled.
""")
        else:
            setup_args['install_requires'] = requirements
        setup_args['include_package_data'] = True
        setup_args['zip_safe'] = False

    from twisted.python.dist import (STATIC_PACKAGE_METADATA, getDataFiles,
                                     getExtensions, getAllScripts, getPackages,
                                     setup, _EXTRAS_REQUIRE)

    scripts = getAllScripts()

    setup_args.update(
        dict(packages=getPackages('twisted'),
             conditionalExtensions=getExtensions(),
             scripts=scripts,
             extras_require=_EXTRAS_REQUIRE,
             data_files=getDataFiles('twisted'),
             **STATIC_PACKAGE_METADATA))

    setup(**setup_args)
Exemplo n.º 9
0
def main(args):
    """
    Invoke twisted.python.dist with the appropriate metadata about the
    Twisted package.
    """
    if os.path.exists('twisted'):
        sys.path.insert(0, '.')

    setup_args = {}

    if 'setuptools' in sys.modules:
        from pkg_resources import parse_requirements
        requirements = ["zope.interface >= 3.6.0"]
        try:
            list(parse_requirements(requirements))
        except:
            print("""You seem to be running a very old version of setuptools.
This version of setuptools has a bug parsing dependencies, so automatic
dependency resolution is disabled.
""")
        else:
            setup_args['install_requires'] = requirements
            setuptools._TWISTED_NO_CHECK_REQUIREMENTS = True
        setup_args['include_package_data'] = True
        setup_args['zip_safe'] = False

    from twisted.python.dist import (
        STATIC_PACKAGE_METADATA, getDataFiles, getExtensions, getAllScripts,
        getPackages, setup)

    scripts = getAllScripts()

    setup_args.update(dict(
        packages=getPackages('twisted'),
        conditionalExtensions=getExtensions(),
        scripts=scripts,
        data_files=getDataFiles('twisted'),
        **STATIC_PACKAGE_METADATA))

    setup(**setup_args)
Exemplo n.º 10
0
            "Intended Audience :: Developers",
            "License :: OSI Approved :: MIT License",
            "Programming Language :: Python",
            "Topic :: Internet :: Name Service (DNS)",
            "Topic :: Software Development :: Libraries :: Python Modules",
        ])

    dist.setup(
        twisted_subproject="names",
        # metadata
        name="Twisted Names",
        description="A Twisted DNS implementation.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedNames",
        license="MIT",
        long_description="""\
Twisted Names is both a domain name server as well as a client
resolver library. Twisted Names comes with an "out of the box"
nameserver which can read most BIND-syntax zone files as well as a
simple Python-based configuration format. Twisted Names can act as an
authoritative server, perform zone transfers from a master to act as a
secondary, act as a caching nameserver, or any combination of
these. Twisted Names' client resolver library provides functions to
query for all commonly used record types as well as a replacement for
the blocking gethostbyname() function provided by the Python stdlib
socket module.
""",
        **extraMeta)
Exemplo n.º 11
0
            "Topic :: Communications :: Chat",
            "Topic :: Communications :: Chat :: AOL Instant Messenger",
            "Topic :: Communications :: Chat :: ICQ",
            "Topic :: Communications :: Chat :: Internet Relay Chat",
            "Topic :: Internet",
            "Topic :: Software Development :: Libraries :: Python Modules",
        ])

    dist.setup(
        twisted_subproject="words",
        scripts=dist.getScripts("words"),
        # metadata
        name="Twisted Words",
        description="Twisted Words contains Instant Messaging implementations.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedWords",
        license="MIT",
        long_description="""\
Twisted Words contains implementations of many Instant Messaging protocols,
including IRC, Jabber, OSCAR (AIM & ICQ), and some functionality for creating
bots, inter-protocol gateways, and a client application for many of the
protocols.

In support of Jabber, Twisted Words also contains X-ish, a library for
processing XML with Twisted and Python, with support for a Pythonic DOM and
an XPath-like toolkit.
""",
        **extraMeta)
Exemplo n.º 12
0
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="pair",
        # metadata
        name="Twisted Pair",
        description="Twisted Pair contains low-level networking support.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Tommi Virtanen",
        url="http://twistedmatrix.com/trac/wiki/TwistedPair",
        license="MIT",
        long_description="""
Raw network packet parsing routines, including ethernet, IP and UDP
packets, and tuntap support.
""",
        )
Exemplo n.º 13
0
Arquivo: setup.py Projeto: 0004c/VTK
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web",
        scripts=dist.getScripts("web"),
        # metadata
        name="Twisted Web",
        description="Twisted web server, programmable in Python.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb",
        license="MIT",
        long_description="""\
Twisted Web is a complete web server, aimed at hosting web
applications using Twisted and Python, but fully able to serve static
pages, also.
""",
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "Environment :: No Input/Output (Daemon)",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: MIT License",
            "Programming Language :: Python",
            "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
            "Topic :: Internet :: WWW/HTTP :: WSGI",
            "Topic :: Software Development :: Libraries :: Python Modules",
            ],
        )
Exemplo n.º 14
0
import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web2",
        # metadata
        name="Twisted Web2",
        description="Twisted Web2 is a web server.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb2",
        license="MIT",
        long_description="Twisted Web2 is a web server.",
    )
Exemplo n.º 15
0
    author="Twisted Matrix Laboratories",
    author_email="*****@*****.**",
    maintainer="Glyph Lefkowitz",
    url="http://twistedmatrix.com/",
    license="MIT",
    long_description="""\
This is the core of Twisted, including:
 * Networking support (twisted.internet)
 * Trial, the unit testing framework (twisted.trial)
 * AMP, the Asynchronous Messaging Protocol (twisted.protocols.amp)
 * Twisted Spread, a remote object system (twisted.spread)
 * Utility code (twisted.python)
 * Basic abstractions that multiple subprojects use
   (twisted.cred, twisted.application, twisted.plugin)
 * Database connectivity support (twisted.enterprise)
 * A few basic protocols and protocol abstractions (twisted.protocols)
""",

    # build stuff
    packages=getPackages('twisted',
                         ignore=twisted_subprojects + ['plugins']),
    plugins=plugins,
    data_files=getDataFiles('twisted', ignore=twisted_subprojects),
    conditionalExtensions=extensions,
    scripts = getScripts(""),
)


if __name__ == '__main__':
    setup(**setup_args)
Exemplo n.º 16
0
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="pair",
        # metadata
        name="Twisted Pair",
        description="Twisted Pair contains low-level networking support.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Tommi Virtanen",
        url="http://twistedmatrix.com/trac/wiki/TwistedPair",
        license="MIT",
        long_description="""
Raw network packet parsing routines, including ethernet, IP and UDP
packets, and tuntap support.
""",
    )
Exemplo n.º 17
0
            "Programming Language :: Python",
            "Topic :: Internet :: Name Service (DNS)",
            "Topic :: Software Development :: Libraries :: Python Modules",
        ])
    else:
        extraMeta = {}

    dist.setup(
        twisted_subproject="names",
        # metadata
        name="Twisted Names",
        description="A Twisted DNS implementation.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedNames",
        license="MIT",
        long_description="""\
Twisted Names is both a domain name server as well as a client
resolver library. Twisted Names comes with an "out of the box"
nameserver which can read most BIND-syntax zone files as well as a
simple Python-based configuration format. Twisted Names can act as an
authoritative server, perform zone transfers from a master to act as a
secondary, act as a caching nameserver, or any combination of
these. Twisted Names' client resolver library provides functions to
query for all commonly used record types as well as a replacement for
the blocking gethostbyname() function provided by the Python stdlib
socket module.
""",
        **extraMeta)
Exemplo n.º 18
0
# Copyright (c) 2008 Twisted Matrix Laboratories.
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="lore",
        scripts=dist.getScripts("lore"),
        # metadata
        name="Twisted Lore",
        description="Twisted documentation system",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Andrew Bennetts",
        url="http://twistedmatrix.com/trac/wiki/TwistedLore",
        license="MIT",
        long_description="""\
Twisted Lore is a documentation generator with HTML and LaTeX support,
used in the Twisted project.
""",
    )
Exemplo n.º 19
0
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web",
        scripts=dist.getScripts("web"),
        # metadata
        name="Twisted Web",
        description="Twisted web server, programmable in Python.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb",
        license="MIT",
        long_description="""\
Twisted Web is a complete web server, aimed at hosting web
applications using Twisted and Python, but fully able to serve static
pages, also.
""",
        )
Exemplo n.º 20
0
# Copyright (c) 2008 Twisted Matrix Laboratories.
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="flow",
        # metadata
        name="Twisted Flow",
        description="A Twisted concurrency programming library.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Clark Evans",
        url="http://twistedmatrix.com/trac/wiki/TwistedFlow",
        license="MIT",
        long_description="""\
Twisted Flow aims to make asynchronous programming a easier,
using python generators.
""",
    )
Exemplo n.º 21
0
# Copyright (c) 2008 Twisted Matrix Laboratories.
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="flow",
        # metadata
        name="Twisted Flow",
        description="A Twisted concurrency programming library.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Clark Evans",
        url="http://twistedmatrix.com/trac/wiki/TwistedFlow",
        license="MIT",
        long_description="""\
Twisted Flow aims to make asynchronous programming a easier,
using python generators.
""",
        )
Exemplo n.º 22
0
                "Environment :: No Input/Output (Daemon)",
                "Intended Audience :: Developers",
                "Intended Audience :: End Users/Desktop",
                "Intended Audience :: System Administrators",
                "License :: OSI Approved :: MIT License",
                "Programming Language :: Python",
                "Topic :: Internet",
                "Topic :: Security",
                "Topic :: Software Development :: Libraries :: Python Modules",
                "Topic :: Terminals",
            ])
    else:
        extraMeta = {}

    dist.setup(
        twisted_subproject="conch",
        scripts=dist.getScripts("conch"),
        # metadata
        name="Twisted Conch",
        description="Twisted SSHv2 implementation.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Paul Swartz",
        url="http://twistedmatrix.com/trac/wiki/TwistedConch",
        license="MIT",
        long_description="""\
Conch is an SSHv2 implementation using the Twisted framework.  It
includes a server, client, a SFTP client, and a key generator.
""",
        **extraMeta)
Exemplo n.º 23
0
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web",
        scripts=dist.getScripts("web"),
        # metadata
        name="Twisted Web",
        description="Twisted web server, programmable in Python.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb",
        license="MIT",
        long_description="""\
Twisted Web is a complete web server, aimed at hosting web
applications using Twisted and Python, but fully able to serve static
pages, also.
""",
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "Environment :: No Input/Output (Daemon)",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: MIT License",
            "Programming Language :: Python",
            "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
            "Topic :: Internet :: WWW/HTTP :: WSGI",
            "Topic :: Software Development :: Libraries :: Python Modules",
        ],
    )
Exemplo n.º 24
0
            "Topic :: Communications :: Chat :: ICQ",
            "Topic :: Communications :: Chat :: Internet Relay Chat",
            "Topic :: Internet",
            "Topic :: Software Development :: Libraries :: Python Modules",
        ])
    else:
        extraMeta = {}

    dist.setup(
        twisted_subproject="words",
        scripts=dist.getScripts("words"),
        # metadata
        name="Twisted Words",
        description="Twisted Words contains Instant Messaging implementations.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedWords",
        license="MIT",
        long_description="""\
Twisted Words contains implementations of many Instant Messaging
protocols, including IRC, Jabber, MSN, OSCAR (AIM & ICQ), TOC (AOL),
and some functionality for creating bots, inter-protocol gateways, and
a client application for many of the protocols.

In support of Jabber, Twisted Words also contains X-ish, a library for
processing XML with Twisted and Python, with support for a Pythonic DOM and
an XPath-like toolkit.
""",
        **extraMeta)
Exemplo n.º 25
0
    from twisted.python.dist import setup, ConditionalExtension as Extension
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

extensions = [
    Extension("twisted.runner.portmap", ["twisted/runner/portmap.c"],
              condition=lambda builder: builder._check_header("rpc/rpc.h")),
]

if __name__ == '__main__':
    setup(
        twisted_subproject="runner",
        # metadata
        name="Twisted Runner",
        description="Twisted Runner is a process management library and inetd "
        "replacement.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Andrew Bennetts",
        url="http://twistedmatrix.com/trac/wiki/TwistedRunner",
        license="MIT",
        long_description="""\
Twisted Runner contains code useful for persistent process management
with Python and Twisted, and has an almost full replacement for inetd.
""",
        # build stuff
        conditionalExtensions=extensions,
    )
Exemplo n.º 26
0
                "Intended Audience :: Developers :: Telecommunications Industry",
                "License :: OSI Approved :: MIT License",
                "Programming Language :: Python",
                "Topic :: Telephony :: Framework",
                "Topic :: Internet",
                "Topic :: Software Development :: Libraries :: Python Modules",
            ]
        )
    else:
        extraMeta = {}

    dist.setup(
        twisted_subproject="fats",
        scripts=dist.getScripts("fats"),
        # metadata
        name="Twisted FATS",
        description="Twisted FATS contains FastAGI and AMI protocols implementation.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Alexander Burtsev",
        maintainer_email="*****@*****.**",
        url="http://fats.burus.org",
        license="MIT",
        long_description="""\
Twisted framework based enhancement. Project contains protocols
implementation for the FastAGI and AMI. Allow to make your
Asterisk IP-PBX server faster and easy to use.
""",
        **extraMeta
    )
Exemplo n.º 27
0
import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web",
        scripts=dist.getScripts("web"),
        # metadata
        name="Twisted Web",
        description="Twisted web server, programmable in Python.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb",
        license="MIT",
        long_description="""\
Twisted Web is a complete web server, aimed at hosting web
applications using Twisted and Python, but fully able to serve static
pages, also.
""",
    )
Exemplo n.º 28
0
# Copyright (c) 2008 Twisted Matrix Laboratories.
# See LICENSE for details.

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="news",
        # metadata
        name="Twisted News",
        description="Twisted News is an NNTP server and programming library.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedNews",
        license="MIT",
        long_description="""\
Twisted News is an NNTP protocol (Usenet) programming library. The
library contains server and client protocol implementations. A simple
NNTP server is also provided.
""",
    )

Exemplo n.º 29
0
                "Topic :: Communications :: Email :: Post-Office :: IMAP",
                "Topic :: Communications :: Email :: Post-Office :: POP3",
                "Topic :: Software Development :: Libraries :: Python Modules",
            ])
    else:
        extraMeta = {}

    dist.setup(
        twisted_subproject="mail",
        scripts=dist.getScripts("mail"),
        # metadata
        name="Twisted Mail",
        description="A Twisted Mail library, server and client.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/trac/wiki/TwistedMail",
        license="MIT",
        long_description="""\
An SMTP, IMAP and POP protocol implementation together with clients
and servers.

Twisted Mail contains high-level, efficient protocol implementations
for both clients and servers of SMTP, POP3, and IMAP4. Additionally,
it contains an "out of the box" combination SMTP/POP3 virtual-hosting
mail server. Also included is a read/write Maildir implementation and
a basic Mail Exchange calculator.
""",
        **extraMeta)
Exemplo n.º 30
0
import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

if __name__ == '__main__':
    dist.setup(
        twisted_subproject="web2",
        # metadata
        name="Twisted Web2",
        description="Twisted Web2 is a web server.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="James Knight",
        maintainer_email="*****@*****.**",
        url="http://twistedmatrix.com/trac/wiki/TwistedWeb2",
        license="MIT",
        long_description="Twisted Web2 is a web server.",
        )
Exemplo n.º 31
0
Arquivo: setup.py Projeto: 0004c/VTK
except ImportError:
    raise SystemExit("twisted.python.dist module not found.  Make sure you "
                     "have installed the Twisted core package before "
                     "attempting to install any other Twisted projects.")

extensions = [
    Extension("twisted.runner.portmap",
              ["twisted/runner/portmap.c"],
              condition=lambda builder: builder._check_header("rpc/rpc.h")),
]

if __name__ == '__main__':
    setup(
        twisted_subproject="runner",
        # metadata
        name="Twisted Runner",
        description="Twisted Runner is a process management library and inetd "
                    "replacement.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Andrew Bennetts",
        url="http://twistedmatrix.com/trac/wiki/TwistedRunner",
        license="MIT",
        long_description="""\
Twisted Runner contains code useful for persistent process management
with Python and Twisted, and has an almost full replacement for inetd.
""",
        # build stuff
        conditionalExtensions=extensions,
    )
Exemplo n.º 32
0
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Topic :: Communications :: Email :: Post-Office :: IMAP",
        "Topic :: Communications :: Email :: Post-Office :: POP3",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ])

    dist.setup(
        twisted_subproject="mail",
        scripts=dist.getScripts("mail"),
        # metadata
        name="Twisted Mail",
        description="A Twisted Mail library, server and client.",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Jp Calderone",
        url="http://twistedmatrix.com/trac/wiki/TwistedMail",
        license="MIT",
        long_description="""\
An SMTP, IMAP and POP protocol implementation together with clients
and servers.

Twisted Mail contains high-level, efficient protocol implementations
for both clients and servers of SMTP, POP3, and IMAP4. Additionally,
it contains an "out of the box" combination SMTP/POP3 virtual-hosting
mail server. Also included is a read/write Maildir implementation and
a basic Mail Exchange calculator.
""",
        **extraMeta)
Exemplo n.º 33
0
# See LICENSE for details.

import sys

try:
    from twisted.python import dist
except ImportError:
    raise SystemExit(
        "twisted.python.dist module not found.  Make sure you "
        "have installed the Twisted core package before "
        "attempting to install any other Twisted projects."
    )

if __name__ == "__main__":
    dist.setup(
        twisted_subproject="lore",
        scripts=dist.getScripts("lore"),
        # metadata
        name="Twisted Lore",
        description="Twisted documentation system",
        author="Twisted Matrix Laboratories",
        author_email="*****@*****.**",
        maintainer="Andrew Bennetts",
        url="http://twistedmatrix.com/trac/wiki/TwistedLore",
        license="MIT",
        long_description="""\
Twisted Lore is a documentation generator with HTML and LaTeX support,
used in the Twisted project.
""",
    )