diff --git a/docs/source/conf.py b/docs/source/conf.py index 5e26b6c..e55d073 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,9 +27,9 @@ copyright = u'2022, Jamie Hardt' author = u'Jamie Hardt' # The short X.Y version -version = u'' +version = wavinfo.__version__ # The full version, including alpha/beta/rc tags -release = u'v2.0.0' +release = wavinfo.__version__ # -- General configuration --------------------------------------------------- diff --git a/metadata.py b/metadata.py index eb554e7..7fced99 100644 --- a/metadata.py +++ b/metadata.py @@ -1,6 +1,3 @@ """ Wavinfo """ -__version__ = '2.0.1' -__author__ = 'Jamie Hardt ' -__license__ = "MIT" diff --git a/setup.py b/setup.py index 368d38e..fc3e71f 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ from setuptools import setup -from metadata import __author__, __license__, __version__ +from .wavinfo import __author__, __license__, __version__ with open("README.md", "r") as fh: long_description = fh.read() diff --git a/wavinfo/__init__.py b/wavinfo/__init__.py index c030227..0608567 100644 --- a/wavinfo/__init__.py +++ b/wavinfo/__init__.py @@ -7,3 +7,6 @@ Go to the documentation for wavinfo.WavInfoReader for more information. from .wave_reader import WavInfoReader from .riff_parser import WavInfoEOFError +__version__ = '2.0.1' +__author__ = 'Jamie Hardt ' +__license__ = "MIT"