Changeset 571
- Timestamp:
- 10/02/07 17:42:58 (1 year ago)
- Files:
-
- pagoda/trunk/Pagoda/pagoda/command.py (added)
- pagoda/trunk/Pagoda/pagoda/site/manager.py (added)
- pagoda/trunk/Pagoda/pagoda/util.py (modified) (1 diff)
- pagoda/trunk/Pagoda/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pagoda/trunk/Pagoda/pagoda/util.py
r475 r571 12 12 13 13 import os 14 15 __all__ = ['make_module', 'realpath', 'deque', 'lru_cache'] 16 17 def make_module(path): 18 """Ensure that `path` is a directory and contains an `__init__.py` file""" 19 if not os.path.exists(path): 20 os.makedirs(path) 21 filename = os.path.join(path, "__init__.py") 22 if not os.path.exists(filename): 23 f = open(filename, 'w+') 24 f.close() 14 25 15 26 def realpath(path, relative_to=None): pagoda/trunk/Pagoda/setup.py
r565 r571 56 56 pagoda_models = pagoda.plugins.models 57 57 pagoda_view = pagoda.view 58 59 [turbogears.command] 60 pagoda = pagoda.command:PagodaCommand 58 61 """, 59 62 include_package_data=True,
