Part of twisted.python View Source
Twisted's automated release system.
This module is only for use within Twisted's release system. If you are anyone else, do not use it. The interface and behaviour will change without notice.Class | CommandFailed | Raised when a child process exits unsuccessfully. |
Function | getNextVersion | Calculate the version number for a new release of Twisted based on the previous version number. |
Class | Project | A representation of a project that has a version. |
Function | findTwistedProjects | Find all Twisted-style projects beneath a base directory. |
Function | updateTwistedVersionInformation | Update the version information for Twisted and all subprojects to the date-based version number. |
Function | replaceProjectVersion | Write version specification code into the given filename, which sets the version to the given version number. |
Function | replaceInFile | I replace the text `oldstr' with `newstr' in `filename' using science. |
Class | NoDocumentsFound | Raised when no input documents are found. |
Class | LoreBuilderMixin | Base class for builders which invoke lore. |
Class | DocBuilder | Generate HTML documentation for projects. |
Class | ManBuilder | Generate man pages of the different existing scripts. |
Class | APIBuilder | No summary |
Class | BookBuilder | Generate the LaTeX and PDF documentation. |
Function | filePathDelta | Return a list of strings that represent destination as a
path relative to origin .
|
Class | DistributionBuilder | A builder of Twisted distributions. |
Function | _changeVersionInFile | Replace the old version number with the new
one in the given filename .
|
old
version number with the new
one in the given filename
.
Parameters | version | The previous version number. |
now | (optional) The current date. |
Parameters | baseDirectory | A twisted.python.filepath.FilePath
to look inside.
|
Returns | A list of Project .
|
Parameters | baseDirectory | Where to look for Twisted. If None, the function infers the information
from twisted.__file__ .
|
now | The current date (as datetime.date ). If None, it defaults
to today.
|
Parameters | filename | A filename which is most likely a "_version.py" under some Twisted project. |
newversion | A version object. |
Return a list of strings that represent destination
as a
path relative to origin
.
twisted.python.filepath.FilePath
/foo/bar to twisted.python.filepath.FilePath
/foo/baz will be ../baz
, not baz
.
Parameters | origin | The origin of the relative path.
(type: twisted.python.filepath.FilePath
) |
destination | The destination of the relative path.
(type: twisted.python.filepath.FilePath
) |