Re-factored package metadata

This commit is contained in:
Jamie Hardt
2022-11-23 18:14:34 -08:00
parent 73a5034e02
commit 3e6c485eb9
4 changed files with 6 additions and 6 deletions

View File

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

View File

@@ -1,6 +1,3 @@
"""
Wavinfo
"""
__version__ = '2.0.1'
__author__ = 'Jamie Hardt <jamiehardt@gmail.com>'
__license__ = "MIT"

View File

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

View File

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