|
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 | |
| list | bibtex_entry = [] |
Protected Attributes | |
| str | _executable_name = "" |
| _package_descriptions = set() | |
| list | _entries = [] |
| _constants = None | |
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 ) |
| peano4.api.output.Readme.Readme.add_package_description | ( | self, | |
| readme_package_descriptor ) |
Definition at line 103 of file Readme.py.
References _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 __Header, _entries, api.Project.Project._executable_name, exahype2.api.Project.Project._executable_name, exaparty.api.Project.Project._executable_name, _executable_name, and _package_descriptions.
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 _constants.
| peano4.api.output.Readme.Readme.set_executable_name | ( | self, | |
| executable_name ) |
Definition at line 110 of file Readme.py.
References api.Project.Project._executable_name, exahype2.api.Project.Project._executable_name, exaparty.api.Project.Project._executable_name, and _executable_name.
|
staticprivate |
Definition at line 24 of file Readme.py.
Referenced by generate().
|
protected |
Definition at line 101 of file Readme.py.
Referenced by set_constants().
|
protected |
Definition at line 100 of file Readme.py.
Referenced by add_entry(), and generate().
|
protected |
Definition at line 98 of file Readme.py.
Referenced by generate(), and set_executable_name().
|
protected |
Definition at line 99 of file Readme.py.
Referenced by add_package_description(), and generate().