|
Peano
|
Creates one README for the whole setup, so people can look up what they have actually built. More...


Public Member Functions | |
| __init__ (self) | |
| add_package_description (self, readme_package_descriptor) | |
| set_constants (self, description) | |
| set_executable_name (self, executable_name) | |
| add_entry (self, readme_entry) | |
| generate (self, directory) | |
| Write README-executablename.md into directory, e.g. | |
Data Fields | |
| bibtex_entry | |
Protected Attributes | |
| _executable_name | |
| _package_descriptions | |
| _entries | |
| _constants | |
Private Attributes | |
| __Header | |
Static Private Attributes | |
| str | __Header |
Creates one README for the whole setup, so people can look up what they have actually built.
The README has some default content. Then it hosts some info about the actual build. This information is provided from the makefile just before the readme is actually dumped. Finally, there is information about the individual tools used. This information is generated from peano4.api.datamodel.Model where each individual model that we use adds entries to the readme. Particular toolboxes or extensions can add their information through their models, too
| peano4.api.output.Readme.Readme.add_entry | ( | self, | |
| readme_entry | |||
| ) |
Definition at line 113 of file Readme.py.
References peano4.api.output.Readme.Readme._entries.
| peano4.api.output.Readme.Readme.add_package_description | ( | self, | |
| readme_package_descriptor | |||
| ) |
Definition at line 103 of file Readme.py.
References peano4.api.output.Readme.Readme._package_descriptions.
| peano4.api.output.Readme.Readme.generate | ( | self, | |
| directory | |||
| ) |
Write README-executablename.md into directory, e.g.
README-tsunami.md
If the project has no executable name, we fall back to the name of the Python script which invoked the generation.
Definition at line 117 of file Readme.py.
References exahype2.api.Project.Project._executable_name, exaparty.api.Project.Project._executable_name, api.Project.Project._executable_name, and peano4.api.output.Readme.Readme._executable_name.
Referenced by peano4.api.Project.Project.build().

| peano4.api.output.Readme.Readme.set_constants | ( | self, | |
| description | |||
| ) |
Definition at line 107 of file Readme.py.
References peano4.api.output.Readme.Readme._constants.
| peano4.api.output.Readme.Readme.set_executable_name | ( | self, | |
| executable_name | |||
| ) |
Definition at line 110 of file Readme.py.
References exahype2.api.Project.Project._executable_name, exaparty.api.Project.Project._executable_name, api.Project.Project._executable_name, and peano4.api.output.Readme.Readme._executable_name.
|
protected |
Definition at line 101 of file Readme.py.
Referenced by peano4.api.output.Readme.Readme.set_constants().
|
protected |
Definition at line 100 of file Readme.py.
Referenced by peano4.api.output.Readme.Readme.add_entry().
|
protected |
|
protected |
Definition at line 99 of file Readme.py.
Referenced by peano4.api.output.Readme.Readme.add_package_description().