Commit 84803195 authored by Andreas Theodosiou's avatar Andreas Theodosiou 🐧

Add __version__ attribute to drama

parent 5ec10662
Pipeline #33815 failed with stages
......@@ -7,3 +7,12 @@ DRAMA Documentation (:mod:`drama`)
DRAMA: **D**\elft **RA**\dar **M**\odeling and **P**\erformance **A**\ nalysis
"""
import pkg_resources
try:
__version__ = pkg_resources.get_distribution("drama").version
except Exception:
# Local copy or not installed with setuptools.
# Disable minimum version checks on downstream libraries.
# Exception handling taken from xarray
__version__ = "999"
......@@ -5,7 +5,7 @@ with open("README.rst", "r") as fh:
setuptools.setup(
name="drama",
version="0.1.0",
version="0.1.1",
author="Paco Lopez Dekker",
author_email="F.LopezDekker@tudelft.nl",
description="Delft Radar Modelling and perfornance Analysis (DRaMA)",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment