Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PyPiVersionFromNpmVersion ¶
PyPiVersionFromNpmVersion returns a PEP-440 compliant version for a given semver version. This method does not support all possible semver strings, but instead just supports versions that we generate for our node packages.
NOTE: We do not include git information in the generated version (even within the local part, which PEP440 would allow) because we publish dev packages to PyPI, which does not allow local parts. Instead, we only add a local part when the build is dirty (which has the nice side effect of preventing us from publishing a build from dirty bits).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.