From ec327ee76fbd4fcc48c687d0938a162839a50014 Mon Sep 17 00:00:00 2001 From: Ronald van Elburg Date: Mon, 17 Oct 2022 13:25:41 +0200 Subject: [PATCH] Move version and author information to separate file. The current location leads to problems with dependencies which are only resolved after running pip. --- metadata.py | 4 ++++ setup.py | 2 +- wavinfo/__init__.py | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 metadata.py diff --git a/metadata.py b/metadata.py new file mode 100644 index 0000000..e7ba61e --- /dev/null +++ b/metadata.py @@ -0,0 +1,4 @@ + +__version__ = '1.6.3' +__author__ = 'Jamie Hardt ' +__license__ = "MIT" diff --git a/setup.py b/setup.py index ee26d90..ed2ac7a 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ from setuptools import setup -from wavinfo import __author__, __license__, __version__ +from metadata 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 02d6843..c030227 100644 --- a/wavinfo/__init__.py +++ b/wavinfo/__init__.py @@ -7,6 +7,3 @@ Go to the documentation for wavinfo.WavInfoReader for more information. from .wave_reader import WavInfoReader from .riff_parser import WavInfoEOFError -__version__ = '1.6.3' -__author__ = 'Jamie Hardt ' -__license__ = "MIT"