Resources

<= Previous Change | Next Change =>

Diff Summary
Title
Date 2007-05-30 20:08 2007-09-08 17:32
Editor Andrew Plotkin (zarf) Andrew Plotkin (zarf)

2007-05-30 20:08 by Andrew Plotkin
2007-09-08 17:32 by Andrew Plotkin
f1Resources are any readable files in a [package]. Tf1Resources are any readable files in a [package]. T
>ypically, these are sound files, but other resourc>ypically, these are sound files, but other resourc
>e types may come along in the future.>e types may come along in the future.
22
3Resources should be listed in a file called `Resou3Resources should be listed in a file called `Resou
>rces`, in the package directory. (See [package for>rces`, in the package directory. (See [package for
>mat].) Resources do not have to be listed, but the>mat].) Resources do not have to be listed, but the
> `Resources` listing is how package management too> `Resources` listing is how package management too
>ls know about them.>ls know about them.
44
tt5## Resources file format
6
7The file is divided into sections, one for each re
 >source. A section begins with a line that begins w
 >ith a colon:
8
9  :resourcename
10
11A resource name must be a valid Python identifier 
 >(possibly including dots). For example: `resname` 
 >or `modname.resname`.
12
13The resource name is followed by the resource's me
 >tadata; zero or more lines defining key-value pair
 >s. These have the same format as in the [Metadata]
 > file.
Resources - last changed 2007-10-11 00:35 by Andrew Plotkin (zarf)