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