mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 06:59:11 +00:00
let setup read version from init
This commit is contained in:
parent
bfb0f339e2
commit
ca1e593874
@ -1,3 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
|
||||
requires = ["setuptools>=46.4", "wheel", "setuptools_scm[toml]>=3.4.3"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
[metadata]
|
||||
name = video2x
|
||||
version = 5.0.0-beta1
|
||||
version = attr: video2x.__version__
|
||||
author = K4YT3X
|
||||
author_email = i@k4yt3x.com
|
||||
license = GNU Affero General Public License v3.0
|
||||
|
@ -22,6 +22,11 @@ Date Created: July 3, 2021
|
||||
Last Modified: February 11, 2022
|
||||
"""
|
||||
|
||||
# version assignment has to precede imports to
|
||||
# prevent setup.cfg from producing import errors
|
||||
__version__ = "5.0.0-beta2"
|
||||
|
||||
# local imports
|
||||
from .video2x import Video2X
|
||||
from .upscaler import Upscaler
|
||||
from .interpolator import Interpolator
|
||||
|
@ -22,6 +22,7 @@ Date Created: July 3, 2021
|
||||
Last Modified: February 11, 2022
|
||||
"""
|
||||
|
||||
# local imports
|
||||
from .video2x import main
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user