-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
86 lines (77 loc) · 2.61 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# -*- coding: utf-8 -*-
# This file is subject to the terms and conditions defined in
# file 'LICENSE', which is part of this source code package.
# Copyright (c) 2011 R Pratap Chakravarthy
import re
from setuptools import setup, find_packages
from os.path import abspath, dirname, join
here = abspath( dirname(__file__) )
try :
LONG_DESCRIPTION = open( join( here, 'README.rst' )).read(
).replace(':class:`', '`'
).replace(':mod:`', '`'
).replace(':meth:`', '`')
except :
LONG_DESCRIPTION = ''
version = re.compile(
r".*__version__[ ]*=[ ]*'(.*?)'",
re.S
).match(
open( join( here, 'tayra', '__init__.py' )).read()).group(1)
description='An integrated web templating environment'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.2',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
setup(
name='tayra',
version=version,
py_modules=[],
package_dir={},
packages=find_packages(),
ext_modules=[],
scripts=[],
data_files=[],
package_data={}, # setuptools / distutils
include_package_data=True, # setuptools
exclude_package_data={}, # setuptools
zip_safe=False, # setuptools
entry_points={ # setuptools
'console_scripts' : [
'tayra = tayra.script:main',
],
'pluggdapps' : [
'package=tayra:package',
],
'pygments.lexers' : [
'ttl = tayra.ext.ttlpygment:TemplateLexer',
],
},
install_requires=[ # setuptools
'ply>=3.4',
'pluggdapps>=0.43dev',
],
extras_require={}, # setuptools
setup_requires={}, # setuptools
dependency_links=[], # setuptools
namespace_packages=[], # setuptools
test_suite='tayra.test', # setuptools
provides=[ 'tayra', ],
requires='',
obsoletes='',
author='prataprc',
author_email='[email protected]',
maintainer='prataprc',
maintainer_email='[email protected]',
url='http://pythonhosted.org/tayra/',
download_url='',
license='General Public License',
description=description,
long_description=LONG_DESCRIPTION,
platforms='',
classifiers=classifiers,
keywords=[ 'template, web, html, css, pluggdapps' ],
)