twisted.python._release.Project(object)
class documentationtwisted.python._release
View Source
(View In Hierarchy)
A representation of a project that has a version.
Instance Variable | directory | A twisted.python.filepath.FilePath
pointing to the base directory of a Twisted-style Python package. The
package should contain a _version.py file and a
topfiles directory that contains a README file. |
Method | __init__ | Undocumented |
Method | __repr__ | Undocumented |
Method | getVersion | |
Method | updateVersion | Replace the existing version numbers in _version.py and README files with the specified version. |
Method | updateREADME | Replace the existing version numbers in the README file with the specified version. |
twisted.python.filepath.FilePath
pointing to the base directory of a Twisted-style Python package. The
package should contain a _version.py
file and a
topfiles
directory that contains a README
file.
Returns | A Version
specifying the version number of the project based on live python modules. |
Replace the existing version numbers in _version.py and README files with the specified version.
Parameters | version | The version to update to. |
Replace the existing version numbers in the README file with the specified version.
Parameters | version | The version to update to. |