Skip to content
Browse files

Rename the root package to "cheetah" instead of "src" to follow more …

…conventional python package naming
  • Loading branch information...
1 parent dc896aa commit 832a7c766de46cff23d6716ece9efd79db78cf5d R. Tyler Ballance committed Jul 16, 2009
Showing with 5 additions and 5 deletions.
  1. +4 −4 SetupConfig.py
  2. +1 −1 SetupTools.py
  3. 0 {src → cheetah}/CacheRegion.py
  4. 0 {src → cheetah}/CacheStore.py
  5. 0 {src → cheetah}/CheetahWrapper.py
  6. 0 {src → cheetah}/Compiler.py
  7. 0 {src → cheetah}/Django.py
  8. 0 {src → cheetah}/DummyTransaction.py
  9. 0 {src → cheetah}/ErrorCatchers.py
  10. 0 {src → cheetah}/FileUtils.py
  11. 0 {src → cheetah}/Filters.py
  12. 0 {src → cheetah}/ImportHooks.py
  13. 0 {src → cheetah}/ImportManager.py
  14. 0 {src → cheetah}/Macros/I18n.py
  15. 0 {src/Utils → cheetah/Macros}/__init__.py
  16. 0 {src → cheetah}/NameMapper.py
  17. 0 {src → cheetah}/Parser.py
  18. 0 {src → cheetah}/Servlet.py
  19. 0 {src → cheetah}/SettingsManager.py
  20. 0 {src → cheetah}/SourceReader.py
  21. 0 {src → cheetah}/Template.py
  22. 0 {src → cheetah}/TemplateCmdLineIface.py
  23. 0 {src → cheetah}/Templates/SkeletonPage.py
  24. 0 {src → cheetah}/Templates/SkeletonPage.tmpl
  25. 0 {src → cheetah}/Templates/_SkeletonPage.py
  26. 0 {src → cheetah}/Templates/__init__.py
  27. 0 {src → cheetah}/Tests/CheetahWrapper.py
  28. 0 {src → cheetah}/Tests/Filters.py
  29. 0 {src → cheetah}/Tests/NameMapper.py
  30. 0 {src → cheetah}/Tests/Regressions.py
  31. 0 {src → cheetah}/Tests/SyntaxAndOutput.py
  32. 0 {src → cheetah}/Tests/Template.py
  33. 0 {src → cheetah}/Tests/Test.py
  34. 0 {src → cheetah}/Tests/Unicode.py
  35. 0 {src/Tools/turbocheetah/tests → cheetah/Tests}/__init__.py
  36. 0 {src → cheetah}/Tests/unittest_local_copy.py
  37. 0 {src → cheetah}/Tests/xmlrunner.py
  38. 0 {src → cheetah}/Tools/CGITemplate.py
  39. 0 {src → cheetah}/Tools/MondoReport.py
  40. 0 {src → cheetah}/Tools/MondoReportDoc.txt
  41. 0 {src → cheetah}/Tools/RecursiveNull.py
  42. 0 {src → cheetah}/Tools/SiteHierarchy.py
  43. 0 {src → cheetah}/Tools/__init__.py
  44. 0 {src → cheetah}/Tools/turbocheetah/__init__.py
  45. 0 {src → cheetah}/Tools/turbocheetah/cheetahsupport.py
  46. 0 {src/Tests → cheetah/Tools/turbocheetah/tests}/__init__.py
  47. 0 {src → cheetah}/Tools/turbocheetah/tests/test_template.py
  48. 0 {src → cheetah}/Unspecified.py
  49. 0 {src → cheetah}/Utils/Indenter.py
  50. 0 {src → cheetah}/Utils/Misc.py
  51. 0 {src → cheetah}/Utils/VerifyType.py
  52. 0 {src → cheetah}/Utils/WebInputMixin.py
  53. 0 {src/Macros → cheetah/Utils}/__init__.py
  54. 0 {src → cheetah}/Utils/htmlDecode.py
  55. 0 {src → cheetah}/Utils/htmlEncode.py
  56. 0 {src → cheetah}/Utils/memcache.py
  57. 0 {src → cheetah}/Utils/statprof.py
  58. 0 {src → cheetah}/Version.py
  59. 0 {src → cheetah}/__init__.py
  60. 0 {src → cheetah}/_namemapper.c
  61. 0 {src → cheetah}/convertTmplPathToModuleName.py
View
8 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 @@
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 @@
## 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 @@
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:
View
2 SetupTools.py
@@ -19,7 +19,7 @@
from distutils.command.install_data import install_data
#imports from Cheetah ...
-from src.FileUtils import findFiles
+from cheetah.FileUtils import findFiles
##################################################
## CLASSES ##
View
0 src/CacheRegion.py → cheetah/CacheRegion.py
File renamed without changes.
View
0 src/CacheStore.py → cheetah/CacheStore.py
File renamed without changes.
View
0 src/CheetahWrapper.py → cheetah/CheetahWrapper.py
File renamed without changes.
View
0 src/Compiler.py → cheetah/Compiler.py
File renamed without changes.
View
0 src/Django.py → cheetah/Django.py
File renamed without changes.
View
0 src/DummyTransaction.py → cheetah/DummyTransaction.py
File renamed without changes.
View
0 src/ErrorCatchers.py → cheetah/ErrorCatchers.py
File renamed without changes.
View
0 src/FileUtils.py → cheetah/FileUtils.py
File renamed without changes.
View
0 src/Filters.py → cheetah/Filters.py
File renamed without changes.
View
0 src/ImportHooks.py → cheetah/ImportHooks.py
File renamed without changes.
View
0 src/ImportManager.py → cheetah/ImportManager.py
File renamed without changes.
View
0 src/Macros/I18n.py → cheetah/Macros/I18n.py
File renamed without changes.
View
0 src/Utils/__init__.py → cheetah/Macros/__init__.py
File renamed without changes.
View
0 src/NameMapper.py → cheetah/NameMapper.py
File renamed without changes.
View
0 src/Parser.py → cheetah/Parser.py
File renamed without changes.
View
0 src/Servlet.py → cheetah/Servlet.py
File renamed without changes.
View
0 src/SettingsManager.py → cheetah/SettingsManager.py
File renamed without changes.
View
0 src/SourceReader.py → cheetah/SourceReader.py
File renamed without changes.
View
0 src/Template.py → cheetah/Template.py
File renamed without changes.
View
0 src/TemplateCmdLineIface.py → cheetah/TemplateCmdLineIface.py
File renamed without changes.
View
0 src/Templates/SkeletonPage.py → cheetah/Templates/SkeletonPage.py
File renamed without changes.
View
0 src/Templates/SkeletonPage.tmpl → cheetah/Templates/SkeletonPage.tmpl
File renamed without changes.
View
0 src/Templates/_SkeletonPage.py → cheetah/Templates/_SkeletonPage.py
File renamed without changes.
View
0 src/Templates/__init__.py → cheetah/Templates/__init__.py
File renamed without changes.
View
0 src/Tests/CheetahWrapper.py → cheetah/Tests/CheetahWrapper.py
File renamed without changes.
View
0 src/Tests/Filters.py → cheetah/Tests/Filters.py
File renamed without changes.
View
0 src/Tests/NameMapper.py → cheetah/Tests/NameMapper.py
File renamed without changes.
View
0 src/Tests/Regressions.py → cheetah/Tests/Regressions.py
File renamed without changes.
View
0 src/Tests/SyntaxAndOutput.py → cheetah/Tests/SyntaxAndOutput.py
File renamed without changes.
View
0 src/Tests/Template.py → cheetah/Tests/Template.py
File renamed without changes.
View
0 src/Tests/Test.py → cheetah/Tests/Test.py
File renamed without changes.
View
0 src/Tests/Unicode.py → cheetah/Tests/Unicode.py
File renamed without changes.
View
0 src/Tools/turbocheetah/tests/__init__.py → cheetah/Tests/__init__.py
File renamed without changes.
View
0 src/Tests/unittest_local_copy.py → cheetah/Tests/unittest_local_copy.py
File renamed without changes.
View
0 src/Tests/xmlrunner.py → cheetah/Tests/xmlrunner.py
File renamed without changes.
View
0 src/Tools/CGITemplate.py → cheetah/Tools/CGITemplate.py
File renamed without changes.
View
0 src/Tools/MondoReport.py → cheetah/Tools/MondoReport.py
File renamed without changes.
View
0 src/Tools/MondoReportDoc.txt → cheetah/Tools/MondoReportDoc.txt
File renamed without changes.
View
0 src/Tools/RecursiveNull.py → cheetah/Tools/RecursiveNull.py
File renamed without changes.
View
0 src/Tools/SiteHierarchy.py → cheetah/Tools/SiteHierarchy.py
File renamed without changes.
View
0 src/Tools/__init__.py → cheetah/Tools/__init__.py
File renamed without changes.
View
0 src/Tools/turbocheetah/__init__.py → cheetah/Tools/turbocheetah/__init__.py
File renamed without changes.
View
0 src/Tools/turbocheetah/cheetahsupport.py → cheetah/Tools/turbocheetah/cheetahsupport.py
File renamed without changes.
View
0 src/Tests/__init__.py → cheetah/Tools/turbocheetah/tests/__init__.py
File renamed without changes.
View
0 ...Tools/turbocheetah/tests/test_template.py → ...Tools/turbocheetah/tests/test_template.py
File renamed without changes.
View
0 src/Unspecified.py → cheetah/Unspecified.py
File renamed without changes.
View
0 src/Utils/Indenter.py → cheetah/Utils/Indenter.py
File renamed without changes.
View
0 src/Utils/Misc.py → cheetah/Utils/Misc.py
File renamed without changes.
View
0 src/Utils/VerifyType.py → cheetah/Utils/VerifyType.py
File renamed without changes.
View
0 src/Utils/WebInputMixin.py → cheetah/Utils/WebInputMixin.py
File renamed without changes.
View
0 src/Macros/__init__.py → cheetah/Utils/__init__.py
File renamed without changes.
View
0 src/Utils/htmlDecode.py → cheetah/Utils/htmlDecode.py
File renamed without changes.
View
0 src/Utils/htmlEncode.py → cheetah/Utils/htmlEncode.py
File renamed without changes.
View
0 src/Utils/memcache.py → cheetah/Utils/memcache.py
File renamed without changes.
View
0 src/Utils/statprof.py → cheetah/Utils/statprof.py
File renamed without changes.
View
0 src/Version.py → cheetah/Version.py
File renamed without changes.
View
0 src/__init__.py → cheetah/__init__.py
File renamed without changes.
View
0 src/_namemapper.c → cheetah/_namemapper.c
File renamed without changes.
View
0 src/convertTmplPathToModuleName.py → cheetah/convertTmplPathToModuleName.py
File renamed without changes.

0 comments on commit 832a7c7

Please sign in to comment.
Something went wrong with that request. Please try again.