From c7d48b5be6d3fefb089fb7b5bfa1942ad136dbf3 Mon Sep 17 00:00:00 2001 From: tavis_rudd Date: Wed, 10 Oct 2001 06:59:45 +0000 Subject: further merges of the DEVEL_BRANCH code --- SetupConfig.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 SetupConfig.py (limited to 'SetupConfig.py') 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__ -- cgit v1.2.1