How to use the nbsite._version.VersioneerConfig function in nbsite

To help you get started, we’ve selected a few nbsite examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pyviz-dev / nbsite / nbsite / _version.py View on Github external
def get_config():
    """Create, populate and return the VersioneerConfig() object."""
    # these strings are filled in when 'setup.py versioneer' creates
    # _version.py
    cfg = VersioneerConfig()
    cfg.VCS = "git"
    cfg.style = "pep440-pre"
    cfg.tag_prefix = ""
    cfg.parentdir_prefix = "nbsite-"
    cfg.versionfile_source = "nbsite/_version.py"
    cfg.verbose = False
    return cfg