diff options
author | tavis_rudd <tavis_rudd> | 2001-10-10 06:59:45 +0000 |
---|---|---|
committer | tavis_rudd <tavis_rudd> | 2001-10-10 06:59:45 +0000 |
commit | c7d48b5be6d3fefb089fb7b5bfa1942ad136dbf3 (patch) | |
tree | 1c5eceda36902cdf2a7008af52f47fcf3ad9db89 /SetupConfig.py | |
parent | bf8408daf1f1a27e0f8bd69eb2acaa8d6e1eb01d (diff) | |
download | python-cheetah-c7d48b5be6d3fefb089fb7b5bfa1942ad136dbf3.tar.gz |
further merges of the DEVEL_BRANCH code
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/SetupConfig.py b/SetupConfig.py new file mode 100644 index 0000000..a5c7bbe --- /dev/null +++ b/SetupConfig.py @@ -0,0 +1,37 @@ +#-------Main Package Settings-----------# +name = "Cheetah" +from src.Version import version +maintainer = "Tavis Rudd" +author = "The Cheetah Development Team" +author_email = "cheetahtemplate-discuss@lists.sf.net" +url = "http://www.CheetahTemplate.org/" +packages = ['Cheetah', + 'Cheetah.Templates', + 'Cheetah.Tests', + 'Cheetah.Tools', + ] + +package_dir = {'Cheetah':'src'} + +import os +from distutils.core import Extension +if os.name == 'posix': + ext_modules=[Extension("Cheetah/_namemapper", ["src/_namemapper.c"])] +else: + ext_modules=[] + + +## Data Files and Scripts +scripts = ['bin/cheetah-compile', + ] +data_files = ['recursive: src *.tmpl *.txt LICENSE README', + ] + +## GET THE DESCRIPTION AND CREATE THE README +from src import __doc__ +README = open('README','w') +README.write(__doc__) +README.close() + +description = __doc__.split('\n')[0] +long_description = __doc__ |