forked from mraygalaxy/HTML.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (34 loc) · 1.3 KB
/
setup.py
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
37
38
39
40
41
"""
Setup script for HTML.py
"""
import distutils.core
import HTML
DESCRIPTION = """A Python module to easily generate HTML code (tables, lists, ...).
See http://www.decalage.info/python/html for more information.
"""
kw = {
'name': "HTML.py",
'version': HTML.__version__,
'description': DESCRIPTION,
'author': "Philippe Lagadec",
'author_email': "decalage (a) laposte.net",
'url': "http://www.decalage.info/python/html",
'license': "CeCILL (open-source GPL compatible)",
'py_modules': ['HTML']
}
# If we're running Python 2.3+, add extra information
if hasattr(distutils.core, 'setup_keywords'):
if 'classifiers' in distutils.core.setup_keywords:
kw['classifiers'] = [
'Development Status :: 4 - Beta',
#'License :: Freely Distributable',
'Natural Language :: English',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
if 'download_url' in distutils.core.setup_keywords:
kw['download_url'] = "http://www.decalage.info/python/html"
distutils.core.setup(**kw)