From 7c756d7065cad9830b1f88bbbae6f7d9ba2593b8 Mon Sep 17 00:00:00 2001 From: profitroll Date: Sun, 6 Aug 2023 12:43:41 +0200 Subject: [PATCH] Switched versioning to semantic --- libbot/__init__.py | 7 ++----- pyproject.toml | 4 ++-- setup.cfg | 3 --- setup.py | 4 ---- 4 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 setup.cfg delete mode 100644 setup.py diff --git a/libbot/__init__.py b/libbot/__init__.py index 61e81bc..33ab8c5 100644 --- a/libbot/__init__.py +++ b/libbot/__init__.py @@ -1,9 +1,6 @@ -__name__ = "libbot" -__version__ = "1.9" +__version__ = "0.2.0" __license__ = "GPL3" __author__ = "Profitroll" +from . import i18n, pyrogram, sync from .__main__ import * -from . import sync -from . import i18n -from . import pyrogram diff --git a/pyproject.toml b/pyproject.toml index 44c6e6b..f33f6f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta" [project] name = "libbot" -version = "1.9" +version = "0.2.0" authors = [{ name = "Profitroll" }] description = "Universal bot library with functions needed for basic Discord/Telegram bot development." readme = "README.md" requires-python = ">=3.8" -license = { text = "GPL3" } +license = { file = "LICENSE" } classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index fe869c8..0000000 --- a/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[metadata] -description_file=README.md -license_files=LICENSE \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 7f1a176..0000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -from setuptools import setup - -if __name__ == "__main__": - setup()