setup.py
author Christophe de Vienne <christophe@unlish.com>
Fri, 19 Sep 2014 19:17:50 +0200
changeset 11511 13e0f569684c
parent 11510 2e52647af650
child 11516 7ffca3b43910
permissions -rw-r--r--
Use 'wsgicors' for CORS handling. The CW CORS handling (in web/cors.py) is only able to work on cubicweb requests. When a request is not handled by bwcompat, we need a proper solution. The `wsgicors` library provides what we need as a wsgi middleware.

from setuptools import setup, find_packages


setup(
    name='pyramid_cubicweb',
    version='0.1',
    description='Integrate CubicWeb with a Pyramid application.',
    author='Christophe de Vienne',
    author_email='username: christophe, domain: unlish.com',
    url='http://bitbucket.com/cdevienne/pyramid_cubicweb',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: Public Domain',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Framework :: Pylons',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: WSGI',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'pyramid >= 1.5.0',
        'waitress >= 0.8.9',
        'cubicweb >= 3.19.3',
        'wsgicors >= 0.3'
    ]
)