Armin Ronacher | 115ba37 | 2010-06-22 19:21:32 +0200 | [diff] [blame^] | 1 | from setuptools import setup, Feature, Extension |
| 2 | |
| 3 | |
| 4 | setup( |
| 5 | name='MarkupSafe', |
| 6 | version='0.9', |
| 7 | url='http://dev.pocoo.org/', |
| 8 | license='BSD', |
| 9 | author='Armin Ronacher', |
| 10 | author_email='armin.ronacher@active-4.com', |
| 11 | description='Implements a XML/HTML/XHTML Markup safe string for Python', |
| 12 | long_description=__doc__, |
| 13 | zip_safe=False, |
| 14 | classifiers=[ |
| 15 | 'Development Status :: 5 - Production/Stable', |
| 16 | 'Environment :: Web Environment', |
| 17 | 'Intended Audience :: Developers', |
| 18 | 'License :: OSI Approved :: BSD License', |
| 19 | 'Operating System :: OS Independent', |
| 20 | 'Programming Language :: Python', |
| 21 | 'Programming Language :: Python :: 3', |
| 22 | 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
| 23 | 'Topic :: Software Development :: Libraries :: Python Modules', |
| 24 | 'Topic :: Text Processing :: Markup :: HTML' |
| 25 | ], |
| 26 | packages=['markupsafe'], |
| 27 | include_package_data=True, |
| 28 | features={ |
| 29 | 'speedups': Feature("optional C speed-enhancements", |
| 30 | standard=False, |
| 31 | ext_modules=[ |
| 32 | Extension('markupsafe._speedups', ['markupsafe/_speedups.c']) |
| 33 | ] |
| 34 | ) |
| 35 | } |
| 36 | ) |