Fix pyproject metadata

* Fix description
* Fix bs4 dep (lxml support is needed)
* Set minimum Python version to 3.8 (for := operator)
This commit is contained in:
Anna “CyberTailor” 2023-05-10 13:48:50 +05:00
parent 76b2241a82
commit 81a8f6b039
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 5 additions and 4 deletions

View File

@ -27,7 +27,7 @@ from mastoposter.integrations import (
from mastoposter.types import Status from mastoposter.types import Status
__version__ = "0.1" __version__ = "0.1"
__description__ = "Mastodon to [anything] reposter" __description__ = "Configurable reposter from Mastodon-compatible Fediverse servers"
logger = getLogger() logger = getLogger()

View File

@ -4,6 +4,7 @@ build-backend = "flit_core.buildapi"
[project] [project]
name = "mastoposter" name = "mastoposter"
description = "Configurable reposter from Mastodon-compatible Fediverse servers"
authors = [ authors = [
{name = "hatkidchan", email = "hatkidchan@gmail.com"} {name = "hatkidchan", email = "hatkidchan@gmail.com"}
] ]
@ -17,15 +18,15 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP" "Topic :: Internet :: WWW/HTTP"
] ]
keywords = ["mastodon", "discord", "telegram"] keywords = ["mastodon", "discord", "telegram"]
requires-python = ">=3.7" requires-python = ">=3.8"
dependencies = [ dependencies = [
"Jinja2", "Jinja2",
"beautifulsoup4", "beautifulsoup4[lxml]",
"emoji", "emoji",
"httpx", "httpx",
"websockets" "websockets"
] ]
dynamic = ["version", "description"] dynamic = ["version"]
[project.urls] [project.urls]
Source = "https://github.com/hatkidchan/mastoposter" Source = "https://github.com/hatkidchan/mastoposter"