class documentation
class GithubReleaseBinarySource(WheelSource):
Constructor: GithubReleaseBinarySource(project_slug, version, asset_name_mapping, binary_path, ...)
Provide source from GitHub Release API
Method | __init__ |
No summary |
Method | generate |
Undocumented |
Instance Variable | asset |
Undocumented |
Instance Variable | binary |
Undocumented |
Instance Variable | project |
Undocumented |
Instance Variable | tag |
Undocumented |
Instance Variable | token |
Undocumented |
Instance Variable | version |
Undocumented |
def __init__(self, project_slug:
str
, version: str
, asset_name_mapping: dict[ WheelPlatformIdentifier, str]
, binary_path: str
, tag_prefix: str
= 'v', token: str | None
= None):
¶
Parameters | |
projectstr | Full name of the project e.g. user/project or org/project |
version:str | Version of the release |
assetdict[ | Mapping of GitHub Release assets to the corresponding wheel platform |
binarystr | Path to the binary file in the generated wheel |
tagstr | Prefix for release tag which will be prepended to version for the version |
token:str | None | Optional token in case you want to access a private repository |