Move version and author information to separate file. The current location leads to problems with dependencies which are only resolved after running pip.

This commit is contained in:
Ronald van Elburg
2022-10-17 13:25:41 +02:00
parent 62a34cfee8
commit ec327ee76f
3 changed files with 5 additions and 4 deletions

4
metadata.py Normal file
View File

@@ -0,0 +1,4 @@
__version__ = '1.6.3'
__author__ = 'Jamie Hardt <jamiehardt@gmail.com>'
__license__ = "MIT"

View File

@@ -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()

View File

@@ -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 <jamiehardt@gmail.com>'
__license__ = "MIT"