summaryrefslogtreecommitdiff
path: root/repoze/bfg/path.py
AgeCommit message (Collapse)Author
2009-11-21Turn wrapper methods back into functions to avoid keeping around referencesChris McDonough
to Configurator in closures.
2009-11-20Passable stab at supporting an imperative mode.Chris McDonough
ZCML directives which accept paths now register absolute paths, while imperative registrations now register resource specifications.
2009-11-19If pkg_or_module is None, treat it as the __main__ package.Chris McDonough
2009-09-18Compulsive import reorderings.Chris McDonough
2009-09-18Centralize resource_spec code.Chris McDonough
2009-08-27Add package_name function.Chris McDonough
""" If this function is passed a module, return the dotted Python package name of the package in which the module lives. If this function is passed a package, return the dotted Python package name of the package itself."""
2009-06-29- Use ``caller_package`` function instead of ``caller_module``Chris McDonough
function within ``templating`` to avoid needing to name the caller module in resource overrides (actually match docs). - Make it possible to override templates stored directly in a module with templates in a subdirectory of the same module, stored directly within another module, or stored in a subdirectory of another module (actually match docs).
2009-06-27- The ``repoze.bfg.templating`` module now uses ``pkg_resources`` toChris McDonough
locate and register template files instead of using an absolute path name.
2009-06-27- Use the ``pkg_resources`` API to locate template filenames insteadChris McDonough
of dead-reckoning using the ``os.path`` module.
2009-06-18Add path module tests.Chris McDonough
2009-06-18- Cache the absolute path in the caller's package globals withinChris McDonough
``repoze.bfg.path`` to get rid of repeated (expensive) calls to os.path.abspath.
2009-01-11- Improve test coverage.Chris McDonough
- Remove old cold which attempts to recover from trying to unpickle a ``z3c.pt`` template; Chameleon has been the templating engine for a good long time now. Running repoze.bfg against a sandbox that has pickled ``z3c.pt`` templates it will now just fail with an unpickling error, but can be fixed by deleting the template cache files.
2008-08-29model_path and *backwards incompatible change* removing "make_app" and ↵Chris McDonough
"get_options" from __init__.py of repoze.bfg; use repoze.bfg.router:make_app and repoze.bfg.registry:get_options instead.
2008-08-23 - Read and write a pickled ZCML actions list, stored asChris McDonough
``configure.zcml.pck`` next to the applications's "normal" configuration file. A given bfg app will usually start faster if it's able to read the pickle data. It fails gracefully to reading the real ZCML file if it cannot read the pickle.