def save_version(folder: str):
        """
        Saves version to <folder>/version.

        :param folder: Destination folder.
        """
        fname = os.path.join(folder, C.VERSION_NAME)
        with open(fname, "w") as out:
            out.write(__version__)
def save_version ( folder : str ) : fname = os . path . join ( folder , C . VERSION_NAME ) with open ( fname , "w" ) as out : out . write ( __version__ )
Saves version to <folder>/version.

        :param folder: Destination folder.