From 81a8f6b03916626fe0077d5296aff2e43a1c0605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= Date: Wed, 10 May 2023 13:48:50 +0500 Subject: [PATCH] Fix pyproject metadata * Fix description * Fix bs4 dep (lxml support is needed) * Set minimum Python version to 3.8 (for := operator) --- mastoposter/__init__.py | 2 +- pyproject.toml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mastoposter/__init__.py b/mastoposter/__init__.py index b9efb8c..944ab6c 100644 --- a/mastoposter/__init__.py +++ b/mastoposter/__init__.py @@ -27,7 +27,7 @@ from mastoposter.integrations import ( from mastoposter.types import Status __version__ = "0.1" -__description__ = "Mastodon to [anything] reposter" +__description__ = "Configurable reposter from Mastodon-compatible Fediverse servers" logger = getLogger() diff --git a/pyproject.toml b/pyproject.toml index 2b8df30..4959582 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "mastoposter" +description = "Configurable reposter from Mastodon-compatible Fediverse servers" authors = [ {name = "hatkidchan", email = "hatkidchan@gmail.com"} ] @@ -17,15 +18,15 @@ classifiers = [ "Topic :: Internet :: WWW/HTTP" ] keywords = ["mastodon", "discord", "telegram"] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "Jinja2", - "beautifulsoup4", + "beautifulsoup4[lxml]", "emoji", "httpx", "websockets" ] -dynamic = ["version", "description"] +dynamic = ["version"] [project.urls] Source = "https://github.com/hatkidchan/mastoposter"