Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (40 sloc) 1.311 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"
5 author = "The Cheetah Development Team"
6 author_email = "cheetahtemplate-discuss@lists.sf.net"
7 url = "http://www.CheetahTemplate.org/"
8 packages = ['Cheetah',
9 'Cheetah.Templates',
10 'Cheetah.Tests',
11 'Cheetah.Tools',
922cd59 New package Cheetah.Utils.
hierro authored
12 'Cheetah.Utils',
99b3d63 Add Cheetah.Utils.optik to list of installable packages.
hierro authored
13 'Cheetah.Utils.optik',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
14 ]
18ef231 moved from site-packages/Webware/Cheetah to just site-packages/Cheetah
tavis_rudd authored
15 ## used to be: extra_path = 'Webware' # now just in site-packages top-level
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
16 package_dir = {'Cheetah':'src'}
17
18 import os
96121cb fixed path problem for NT compilation
tavis_rudd authored
19 import os.path
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
20 from distutils.core import Extension
96121cb fixed path problem for NT compilation
tavis_rudd authored
21
22 ## we only assume the presence of a c compiler on Posix systems, NT people will
23 # have to enable this manually.
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
24 if os.name == 'posix':
96121cb fixed path problem for NT compilation
tavis_rudd authored
25 ext_modules=[Extension("Cheetah._namemapper", [os.path.join("src" ,"_namemapper.c")]
26 )
27 ]
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
28 else:
29 ext_modules=[]
30
31
32 ## Data Files and Scripts
33 scripts = ['bin/cheetah-compile',
01300fd implemented the 'cheetah' wrapper script and refactored
tavis_rudd authored
34 'bin/cheetah',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
35 ]
4f9d4b6 made the install work with or without the WebwareExp package
tavis_rudd authored
36 data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
37 ]
38
39 ## GET THE DESCRIPTION AND CREATE THE README
40 from src import __doc__
41 README = open('README','w')
42 README.write(__doc__)
43 README.close()
44
45 description = __doc__.split('\n')[0]
46 long_description = __doc__
Something went wrong with that request. Please try again.