From 081b239afaa600a978a8634c035375e2ab9feb1e Mon Sep 17 00:00:00 2001 From: noXplode Date: Sun, 15 Dec 2024 22:17:38 +0100 Subject: [PATCH] version bump to 0.6 --- .gitignore | 3 +++ Makefile | 8 ++++++++ README.md | 1 + pyproject.toml | 10 +++++----- setup.cfg | 3 ++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index aa1e453..8ff42ca 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ dist/ aiogram_calendar.egg-info MANIFEST MANIFEST.in + +build/ +*.egg-info/ diff --git a/Makefile b/Makefile index 3c7349e..b367f9e 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,11 @@ dev: undev: pip uninstall -y -r requirements_dev.txt + +.PHONY: build publish + +build: + python -m build + +publish: + python -m twine upload dist/* diff --git a/README.md b/README.md index a9c219c..c57725f 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Dialog calendar - user selects year on first stage, month on next stage, day on **From version 0.2 supports aiogram 3, use version 0.1.1 with aiogram 2.** +**From version 0.6 supports aiogram 3.7, use version 0.5 with aiogram <3.7 ** ## Main features diff --git a/pyproject.toml b/pyproject.toml index 517ccf6..c8777ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aiogram_calendar" -version = "0.5.0" +version = "0.6.0" description = "Simple Inline Calendar & Date Selection tool for Aiogram Telegram bots" readme = "README.md" authors = [{ name = "Andrii Nikolabai", email = "nikolabay.as@gmail.com" }] @@ -15,17 +15,17 @@ classifiers = [ 'Topic :: Software Development :: Libraries :: Python Modules', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12' + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13' ] keywords = ['Aiogram', 'Telegram', 'Bots', 'Calendar'] dependencies = [ - 'aiogram>=3' + 'aiogram>=3.7' ] -requires-python = ">=3.8" +requires-python = ">=3.9" [project.optional-dependencies] dev = ["pytest", "pytest-asyncio"] diff --git a/setup.cfg b/setup.cfg index 224a779..0fb3e75 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,3 @@ [metadata] -description-file = README.md \ No newline at end of file +description-file = README.md +license_files = LICENSE.txt \ No newline at end of file