Skip to content
Snippets Groups Projects
Commit 927af33f authored by Corné Lukken's avatar Corné Lukken
Browse files

Remove __version__ in init as it is generated by setuptools_scm in _version instead

parent e7eb285c
No related branches found
No related tags found
1 merge request!8Update cookiecutter.json
Pipeline #103180 failed
Pipeline: Python Binary Wheel Package

#103181

    This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
    """ {{cookiecutter.project_name}} """
    try:
    from importlib import metadata
    except ImportError: # for Python<3.8
    import importlib_metadata as metadata
    __version__ = metadata.version("{{cookiecutter.project_slug}}")
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment