Add file PyProject;
Support display of a single pubsub node item; Update document README; Modularize code;
This commit is contained in:
parent
37aa7e8f40
commit
5e495579c2
32 changed files with 2431 additions and 2059 deletions
76
pyproject.toml
Normal file
76
pyproject.toml
Normal file
|
@ -0,0 +1,76 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "JabberCard"
|
||||
version = "0.1"
|
||||
description = "An HTML based invitation and service explorer for XMPP."
|
||||
authors = [{name = "Schimon Zachary", email = "sch@fedora.email"}]
|
||||
license = {text = "MIT"}
|
||||
classifiers = [
|
||||
"Framework :: slixmpp",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Communications :: Chat",
|
||||
"Topic :: Internet :: Extensible Messaging and Presence Protocol (XMPP)",
|
||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
|
||||
"Topic :: Internet :: Instant Messaging",
|
||||
"Topic :: Internet :: XMPP",
|
||||
"Topic :: Office/Business :: News/Diary",
|
||||
]
|
||||
keywords = [
|
||||
"atom",
|
||||
"bot",
|
||||
"chat",
|
||||
"im",
|
||||
"jabber",
|
||||
"json",
|
||||
"news",
|
||||
"rdf",
|
||||
"rss",
|
||||
"syndication",
|
||||
"xml",
|
||||
"xmpp",
|
||||
]
|
||||
|
||||
# urls = {Homepage = "https://gitgud.io/sjehuda/slixfeed"}
|
||||
|
||||
dependencies = [
|
||||
"fastapi",
|
||||
"jinja2",
|
||||
"lxml",
|
||||
"numpy",
|
||||
"opencv-python",
|
||||
"python-dateutil",
|
||||
"qrcode",
|
||||
"slixmpp",
|
||||
"tomli", # Python 3.10
|
||||
"tomli_w",
|
||||
"uvicorn",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://schapps.woodpeckersnest.space/JabberCard"
|
||||
Repository = "https://git.xmpp-it.net/sch/JabberCard"
|
||||
Issues = "https://gitgud.io/sjehuda/JabberCard/issues"
|
||||
|
||||
[project.optional-dependencies]
|
||||
omemo = ["slixmpp-omemo"]
|
||||
proxy = ["pysocks"]
|
||||
|
||||
# [project.readme]
|
||||
# text = "Slixfeed is a news aggregator bot for online news feeds. This program is primarily designed for XMPP"
|
||||
|
||||
[project.scripts]
|
||||
jabbercard = "jabbercard.__main__:main"
|
||||
|
||||
[tool.setuptools]
|
||||
platforms = ["any"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"*" = ["*.toml"]
|
Loading…
Add table
Add a link
Reference in a new issue