summaryrefslogtreecommitdiff
path: root/setup.py
blob: 378532de51f41ce78cbda13967fd7cdd5a9e7bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, Feature, Extension


setup(
    name='MarkupSafe',
    version='0.9',
    url='http://dev.pocoo.org/',
    license='BSD',
    author='Armin Ronacher',
    author_email='armin.ronacher@active-4.com',
    description='Implements a XML/HTML/XHTML Markup safe string for Python',
    long_description=__doc__,
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Text Processing :: Markup :: HTML'
    ],
    packages=['markupsafe'],
    include_package_data=True,
    features={
        'speedups': Feature("optional C speed-enhancements",
            standard=False,
            ext_modules=[
                Extension('markupsafe._speedups', ['markupsafe/_speedups.c'])
            ]
        )
    }
)