Skip to content
Newer
Older
100644 46 lines (39 sloc) 1.2 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',
01300fd implemented the 'cheetah' wrapper script and refactored
tavis_rudd authored
33 'bin/cheetah',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
34 ]
4f9d4b6 made the install work with or without the WebwareExp package
tavis_rudd authored
35 data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
c7d48b5 further merges of the DEVEL_BRANCH code
tavis_rudd authored
36 ]
37
38 ## GET THE DESCRIPTION AND CREATE THE README
39 from src import __doc__
40 README = open('README','w')
41 README.write(__doc__)
42 README.close()
43
44 description = __doc__.split('\n')[0]
45 long_description = __doc__
Something went wrong with that request. Please try again.