Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (38 sloc) 1.207 kB
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
1 #-------Main Package Settings-----------#
2 name = "Cheetah"
3cf9565 fixed 'import Version' synchronization bug
tavis_rudd authored
3 from src._properties 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',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
13 ]
4f9d4b6 made the install work with or without the WebwareExp package
tavis_rudd authored
14 extra_path = 'Webware'
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
15 package_dir = {'Cheetah':'src'}
16
17 import os
96121cb fixed path problem for NT compilation
tavis_rudd authored
18 import os.path
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
19 from distutils.core import Extension
96121cb fixed path problem for NT compilation
tavis_rudd authored
20
21 ## we only assume the presence of a c compiler on Posix systems, NT people will
22 # have to enable this manually.
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
23 if os.name == 'posix':
96121cb fixed path problem for NT compilation
tavis_rudd authored
24 ext_modules=[Extension("Cheetah._namemapper", [os.path.join("src" ,"_namemapper.c")]
25 )
26 ]
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
27 else:
28 ext_modules=[]
29
30
31 ## Data Files and Scripts
32 scripts = ['bin/cheetah-compile',
33 ]
4f9d4b6 made the install work with or without the WebwareExp package
tavis_rudd authored
34 data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
35 ]
36
37 ## GET THE DESCRIPTION AND CREATE THE README
38 from src import __doc__
39 README = open('README','w')
40 README.write(__doc__)
41 README.close()
42
43 description = __doc__.split('\n')[0]
44 long_description = __doc__
Something went wrong with that request. Please try again.