| f | Metadata is information about information. For [Bo | f | Metadata is information about information. For [Bo |
| odler], this means information about a [package] - | | odler], this means information about a [package] - |
| - who created it, when it was created, and so on. | | - who created it, when it was created, and so on. |
| | | |
| The metadata for a [package] resides in a file cal | | The metadata for a [package] resides in a file cal |
| led `Metadata` in the package directory. (See [pac | | led `Metadata` in the package directory. (See [pac |
| kage format].) | | kage format].) |
| t | | t |
|
| | | ## Metadata file format
|
| | |
|
| | | Lines, of the form
|
| | |
|
| | | key: value
|
| | |
|
| | | Blank lines, and lines beginning with `#`, are ign |
| | | ored. Whitespace is optional at the beginning and |
| | | end of each line, and around the `:`. Newline form |
| | | at may be Mac, Windows, or Unix.
|
| | |
|
| | | You can have more than one line with the same key. |
| | | (For example, a package could have several depend |
| | | encies.) If you specify several values for a key w |
| | | here only one makes sense, the first one is used.
|
| | |
|
| | | Keys should be namespaced -- they should contain a |
| | | t least one `.`, with the part before the `.` bein |
| | | g the namespace. (See below.)
|
| | |
|
| | | ## Boodler metadata terms
|
| | |
|
| | | Metadata entries with particular meaning for Boodl |
| | | er begin with `boodler.`
|
| | |
|
| | | * `boodler.package` : The package name (mandatory) |
| | |
|
| | | * `boodler.version` : The version string (default |
| | | `1.0`)
|
| | | * `boodler.main` : Name of the Python module in th |
| | | e package file (or `.`). See [package format].
|
| | | * `boodler.api_required` : The boodler API [versio |
| | | n spec]. (If not present, the package is saying th |
| | | at it works with all Boodler versions.)
|
| | | * `boodler.requires` : A package name (optionally |
| | | followed by a version number). This indicates a de |
| | | pendency on the given package; it must be installe |
| | | d for this package to work.
|