2 Setup script for HTML.py
\r
5 import distutils.core
\r
8 DESCRIPTION = """A Python module to easily generate HTML code (tables, lists, ...).
\r
9 See http://www.decalage.info/python/html for more information.
\r
14 'version': HTML.__version__,
\r
15 'description': DESCRIPTION,
\r
16 'author': "Philippe Lagadec",
\r
17 'author_email': "decalage (a) laposte.net",
\r
18 'url': "http://www.decalage.info/python/html",
\r
19 'license': "CeCILL (open-source GPL compatible)",
\r
20 'py_modules': ['HTML']
\r
24 # If we're running Python 2.3+, add extra information
\r
25 if hasattr(distutils.core, 'setup_keywords'):
\r
26 if 'classifiers' in distutils.core.setup_keywords:
\r
27 kw['classifiers'] = [
\r
28 'Development Status :: 4 - Beta',
\r
29 #'License :: Freely Distributable',
\r
30 'Natural Language :: English',
\r
31 'Intended Audience :: Developers',
\r
32 'Topic :: Internet :: WWW/HTTP',
\r
33 'Operating System :: OS Independent',
\r
34 'Programming Language :: Python',
\r
35 'Topic :: Software Development :: Libraries :: Python Modules'
\r
37 if 'download_url' in distutils.core.setup_keywords:
\r
38 kw['download_url'] = "http://www.decalage.info/python/html"
\r
41 distutils.core.setup(**kw)
\r