Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 121 lines (99 sloc) 4.534 kB
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
1 #-------Main Package Settings-----------#
2 name = "Cheetah"
9647161 new source for version string
tavis_rudd authored
3 from src.Version import Version as version
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
4 maintainer = "Tavis Rudd"
a7c4db3 updated descriptions
tavis_rudd authored
5 author = "Tavis Rudd"
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
6 author_email = "cheetahtemplate-discuss@lists.sf.net"
7 url = "http://www.CheetahTemplate.org/"
8 packages = ['Cheetah',
404c70c added new Cheetah.Macros package
tavis_rudd authored
9 'Cheetah.Macros',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
10 'Cheetah.Templates',
11 'Cheetah.Tests',
12 'Cheetah.Tools',
922cd59 New package Cheetah.Utils.
hierro authored
13 'Cheetah.Utils',
99b3d63 Add Cheetah.Utils.optik to list of installable packages.
hierro authored
14 'Cheetah.Utils.optik',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
15 ]
dda3a9b added classifiers
tavis_rudd authored
16 classifiers = [line.strip() for line in '''\
e2bd128 classifiers
tavis_rudd authored
17 #Development Status :: 4 - Beta
18 Development Status :: 5 - Production/Stable
dda3a9b added classifiers
tavis_rudd authored
19 Intended Audience :: Developers
20 Intended Audience :: System Administrators
21 License :: OSI Approved :: MIT License
22 Operating System :: OS Independent
23 Programming Language :: Python
24 Topic :: Internet :: WWW/HTTP
25 Topic :: Internet :: WWW/HTTP :: Dynamic Content
26 Topic :: Internet :: WWW/HTTP :: Site Management
27 Topic :: Software Development :: Code Generators
28 Topic :: Software Development :: Libraries :: Python Modules
29 Topic :: Software Development :: User Interfaces
30 Topic :: Text Processing'''.splitlines() if not line.strip().startswith('#')]
31 del line
32
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
33 package_dir = {'Cheetah':'src'}
34
35 import os
96121cb fixed path problem for NT compilation
tavis_rudd authored
36 import os.path
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
37 from distutils.core import Extension
96121cb fixed path problem for NT compilation
tavis_rudd authored
38
39 ## we only assume the presence of a c compiler on Posix systems, NT people will
40 # have to enable this manually.
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
41 if os.name == 'posix':
96121cb fixed path problem for NT compilation
tavis_rudd authored
42 ext_modules=[Extension("Cheetah._namemapper", [os.path.join("src" ,"_namemapper.c")]
43 )
44 ]
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
45 else:
46 ext_modules=[]
47
48
49 ## Data Files and Scripts
50 scripts = ['bin/cheetah-compile',
01300fd implemented the 'cheetah' wrapper script and refactored
tavis_rudd authored
51 'bin/cheetah',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
52 ]
4f9d4b6 made the install work with or without the WebwareExp package
tavis_rudd authored
53 data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
54 ]
55
a7c4db3 updated descriptions
tavis_rudd authored
56 description = "Cheetah is a template engine and code generation tool."
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
57
a7c4db3 updated descriptions
tavis_rudd authored
58 long_description = '''Cheetah is an open source template engine and code generation tool.
59
60 It can be used standalone or combined with other tools and frameworks. Web
61 development is its principle use, but Cheetah is very flexible and is also being
62 used to generate C++ game code, Java, sql, form emails and even Python code.
63
64 Documentation
65 ================================================================================
66 For a high-level introduction to Cheetah please refer to the User\'s Guide
67 at http://cheetahtemplate.org/learn.html
68
69 Mailing list
70 ================================================================================
71 cheetahtemplate-discuss@lists.sourceforge.net
72 Subscribe at http://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
73
74 Credits
75 ================================================================================
76 http://cheetahtemplate.org/credits.html
77
78 Praise
79 ================================================================================
80 "I\'m enamored with Cheetah" - Sam Ruby, senior member of IBM Emerging
81 Technologies Group & director of Apache Software Foundation
82
83 "Give Cheetah a try. You won\'t regret it. ... Cheetah is a truly powerful
84 system. ... Cheetah is a serious contender for the 'best of breed' Python
85 templating." - Alex Martelli
86
87 "People with a strong PHP background absolutely love Cheetah for being Smarty,
88 but much, much better." - Marek Baczynski
89
90 "I am using Smarty and I know it very well, but compiled Cheetah Templates with
91 its inheritance approach is much powerful and easier to use than Smarty." -
92 Jaroslaw Zabiello
93
94 "There is no better solution than Cheetah" - Wilk
95
96 "A cheetah template can inherit from a python class, or a cheetah template, and
97 a Python class can inherit from a cheetah template. This brings the full power
98 of OO programming facilities to the templating system, and simply blows away
99 other templating systems" - Mike Meyer
100
101 "Cheetah has successfully been introduced as a replacement for the overweight
102 XSL Templates for code generation. Despite the power of XSL (and notably XPath
103 expressions), code generation is better suited to Cheetah as templates are much
104 easier to implement and manage." - The FEAR development team
105 (http://fear.sourceforge.net/docs/latest/guide/Build.html#id2550573)
106
107 "I\'ve used Cheetah quite a bit and it\'s a very good package" - Kevin Dangoor,
108 lead developer of TurboGears.
109
110 Recent Changes
111 ================================================================================
112 See http://cheetahtemplate.org/docs/CHANGES for full details.
113
114 '''
115 try:
116 recentChanges = open('CHANGES').read().split('\n1.0')[0]
117 long_description += recentChanges
118 del recentChanges
119 except:
120 pass
Something went wrong with that request. Please try again.