Imported modules
|
|
from __future__ import generators
from environ import clientHas, traverseItem
from errors import UnsupportedMethod, NotFound, NotAllowed
from interfaces import *
import os.path
from peak.api import *
from peak.naming.factories.openable import FileURL
from peak.util.imports import importString
from places import Place
import posixpath
from publish import TraversalPath
import sys
|
Functions
|
|
bindResource
filenameAsProperty
findPackage
parseFileResource
|
|
bindResource
|
bindResource (
path,
pkg=None,
metadata=None,
**kw,
)
Attribute binding to look up a resource
|
|
filenameAsProperty
|
filenameAsProperty ( name )
Convert a filename (base, no path) into a usable property name
|
|
findPackage
|
findPackage ( pkg )
Find containing package (module w/__path__ ) for module named pkg
|
|
parseFileResource
|
parseFileResource (
parser,
section,
name,
value,
lineInfo,
)
Handle a line from a [Files *.foo] section
|
Classes
|
|
|
|