From cd3c73939880e16722e6ba94262b039ffd6b3fa6 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Thu, 20 Apr 2023 16:57:28 +0000 Subject: [PATCH] Update version --- onlylegs/static/js/index.js | 2 +- poetry.lock | 6 +++--- pyproject.toml | 9 +++++---- run.py | 8 ++++++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/onlylegs/static/js/index.js b/onlylegs/static/js/index.js index a46cbe4..d9d0aa5 100644 --- a/onlylegs/static/js/index.js +++ b/onlylegs/static/js/index.js @@ -61,7 +61,7 @@ window.onload = function () { } infoButton.onclick = function () { popUpShow('OnlyLegs', - 'v0.1.0 ' + + 'v0.1.2 ' + 'using Phosphoricons and Flask.' + '
Made by Fluffy and others with ❤️'); } diff --git a/poetry.lock b/poetry.lock index 9c99c59..5aa5b02 100644 --- a/poetry.lock +++ b/poetry.lock @@ -959,14 +959,14 @@ files = [ [[package]] name = "setuptools" -version = "67.6.1" +version = "67.7.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "setuptools-67.6.1-py3-none-any.whl", hash = "sha256:e728ca814a823bf7bf60162daf9db95b93d532948c4c0bea762ce62f60189078"}, - {file = "setuptools-67.6.1.tar.gz", hash = "sha256:257de92a9d50a60b8e22abfcbb771571fde0dbf3ec234463212027a4eeecbe9a"}, + {file = "setuptools-67.7.0-py3-none-any.whl", hash = "sha256:888be97fde8cc3afd60f7784e678fa29ee13c4e5362daa7104a93bba33646c50"}, + {file = "setuptools-67.7.0.tar.gz", hash = "sha256:b7e53a01c6c654d26d2999ee033d8c6125e5fa55f03b7b193f937ae7ac999f22"}, ] [package.extras] diff --git a/pyproject.toml b/pyproject.toml index 0724ddc..0319072 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,11 @@ [tool.poetry] -name = "onlylegs" -version = "0.1.0" -description = "Gallery built for fast and simple image management" -authors = ["Fluffy-Bean "] +name = "OnlyLegs" +version = "0.1.2" +repository = "https://github.com/Fluffy-Bean/onlylegs" license = "MIT" readme = "README.md" +description = "Gallery built for fast and simple image management" +authors = ["Fluffy-Bean "] [tool.poetry.dependencies] python = "^3.8" diff --git a/run.py b/run.py index 83b6fc6..5107d3d 100644 --- a/run.py +++ b/run.py @@ -3,10 +3,14 @@ Run script for OnlyLegs """ from setup.args import PORT, ADDRESS, WORKERS, DEBUG from setup.configuration import Configuration +import importlib.metadata + + +__version__ = importlib.metadata.version("OnlyLegs") print( - """ +f""" :::::::: :::: ::: ::: ::: ::: ::: ::::::::: ::::::::: :::::::: :+: :+: :+:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: +:+ +:+ :+:+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ @@ -15,7 +19,7 @@ print( #+# #+# #+# #+#+# #+# #+# #+# #+# #+# #+# #+# #+# ######## ### #### ########## ### ########## ######### ######### ######## - Created by Fluffy Bean - Version 0.1.0 + Created by Fluffy Bean - {__version__} """ )