mirror of
https://codeberg.org/sch/BukuBot
synced 2024-12-22 09:55:24 +01:00
Add files license and pyproject.
This commit is contained in:
parent
d03839d578
commit
29833803ee
2 changed files with 97 additions and 0 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2024 Schimon Jehudah Zakai Zockaim Zachary
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
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 = "bukuxmpp"
|
||||
version = "1.0"
|
||||
description = "buku bot for XMPP"
|
||||
authors = [{name = "Schimon Zachary", email = "sch@fedora.email"}]
|
||||
license = {text = "MIT"}
|
||||
classifiers = [
|
||||
"Framework :: bukuxmpp",
|
||||
"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 = [
|
||||
"bot",
|
||||
"buku",
|
||||
"chat",
|
||||
"im",
|
||||
"jabber",
|
||||
"xmpp",
|
||||
]
|
||||
# urls = {Homepage = "https://gitgud.io/sjehuda/buku-xmpp"}
|
||||
dependencies = [
|
||||
"buku",
|
||||
"tomli", # Python 3.10
|
||||
"tomli_w",
|
||||
"slixmpp",
|
||||
|
||||
# Optional dependencies
|
||||
# listed here (testing)
|
||||
"html2text",
|
||||
"pdfkit",
|
||||
# "pysocks",
|
||||
"readability-lxml",
|
||||
"xml2epub",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "http://bukuxmpp.i2p/"
|
||||
Repository = "https://gitgud.io/sjehuda/buku-xmpp"
|
||||
Issues = "https://gitgud.io/sjehuda/buku-xmpp/issues"
|
||||
|
||||
|
||||
[project.optional-dependencies]
|
||||
file-export = ["html2text", "pdfkit", "xml2epub"]
|
||||
proxy = ["pysocks"]
|
||||
readability = ["readability-lxml"]
|
||||
|
||||
# This section returns pep508-identifier error
|
||||
# [project.optional-dependencies]
|
||||
# "export as markdown" = ["html2text"]
|
||||
# "export as pdf" = ["pdfkit"]
|
||||
# "readable html" = ["readability-lxml"]
|
||||
|
||||
# [project.readme]
|
||||
# text = "buku-xmpp is a bookmark manager bot using buku. This program is primarily designed for XMPP"
|
||||
|
||||
[project.scripts]
|
||||
bukuxmpp = "bukuxmpp.__main__:main"
|
||||
|
||||
[tool.setuptools]
|
||||
platforms = ["any"]
|
||||
[tool.setuptools.package-data]
|
||||
"*" = ["*.ini", "*.csv", "*.toml", "*.svg"]
|
Loading…
Reference in a new issue