diff options
author | R. Tyler Ballance <tyler@slide.com> | 2009-07-16 15:25:04 -0700 |
---|---|---|
committer | R. Tyler Ballance <tyler@slide.com> | 2009-07-16 15:25:04 -0700 |
commit | 832a7c766de46cff23d6716ece9efd79db78cf5d (patch) | |
tree | 33e02b22a69491ea12241461ffdc9caa1f65d15b /SetupConfig.py | |
parent | dc896aa348b7d5e4dbeed440c6ae8cf8ebdf2fdd (diff) | |
download | python-cheetah-832a7c766de46cff23d6716ece9efd79db78cf5d.tar.gz |
Rename the root package to "cheetah" instead of "src" to follow more conventional python package naming
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SetupConfig.py b/SetupConfig.py index 14521a8..4ac7108 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -1,6 +1,6 @@ #-------Main Package Settings-----------# name = 'Cheetah' -from src.Version import Version as version +from cheetah.Version import Version as version maintainer = "R. Tyler Ballance" author = "Tavis Rudd" author_email = "cheetahtemplate-discuss@lists.sf.net" @@ -29,7 +29,7 @@ classifiers = [line.strip() for line in '''\ Topic :: Text Processing'''.splitlines() if not line.strip().startswith('#')] del line -package_dir = {'Cheetah':'src'} +package_dir = {'Cheetah':'cheetah'} import os import os.path @@ -38,7 +38,7 @@ from distutils.core import Extension ## we only assume the presence of a c compiler on Posix systems, NT people will # have to enable this manually. if os.name == 'posix': - ext_modules=[Extension("Cheetah._namemapper", [os.path.join("src" ,"_namemapper.c")] + ext_modules=[Extension("Cheetah._namemapper", [os.path.join("cheetah" ,"_namemapper.c")] ) ] else: @@ -49,7 +49,7 @@ else: scripts = ['bin/cheetah-compile', 'bin/cheetah', ] -data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES', +data_files = ['recursive: cheetah *.tmpl *.txt LICENSE README TODO CHANGES', ] if not os.getenv('CHEETAH_INSTALL_WITHOUT_SETUPTOOLS'): try: |