Moved to pyproject.toml
This commit is contained in:
parent
1be777305a
commit
07faca0fe0
@ -1,5 +1,5 @@
|
||||
__name__ = "libbot"
|
||||
__version__ = "0.2"
|
||||
__version__ = "0.3"
|
||||
__license__ = "GPL3"
|
||||
__author__ = "Profitroll"
|
||||
|
||||
|
46
pyproject.toml
Normal file
46
pyproject.toml
Normal file
@ -0,0 +1,46 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=62.6,<66", "setuptools-scm>=6.2,<8"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "libbot"
|
||||
version = "0.3"
|
||||
authors = [{ name = "Profitroll" }]
|
||||
description = "Universal bot library with functions needed for basic Discord/Telegram bot development."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.7"
|
||||
license = { text = "GPL3" }
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Topic :: Utilities",
|
||||
]
|
||||
dependencies = ["aiofiles~=23.1.0", "ujson==5.7.0"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
pycord = ["py-cord>=2.0.0"]
|
||||
pyrogram = ["pyrogram>=2.0.0"]
|
||||
|
||||
[project.urls]
|
||||
Source = "https://git.end-play.xyz/profitroll/LibBotUniversal"
|
||||
Documentation = "https://git.end-play.xyz/profitroll/LibBotUniversal/wiki"
|
||||
Tracker = "https://git.end-play.xyz/profitroll/LibBotUniversal/issues"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["libbot", "libbot.i18n", "libbot.sync"]
|
||||
|
||||
[tool.setuptools_scm]
|
||||
|
||||
[tool.black]
|
||||
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
32
setup.py
32
setup.py
@ -1,32 +1,4 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name="libbot",
|
||||
version="0.2",
|
||||
author="Profitroll",
|
||||
description="Universal bot library with functions needed for basic Discord/Telegram bot development.",
|
||||
long_description="Universal bot library with functions needed for basic Discord/Telegram bot development.",
|
||||
long_description_content_type="text/markdown",
|
||||
author_email="profitroll@end-play.xyz",
|
||||
url="https://git.end-play.xyz/profitroll/LibBotUniversal",
|
||||
project_urls={
|
||||
"Bug Tracker": "https://git.end-play.xyz/profitroll/LibBotUniversal/issues",
|
||||
"Documentation": "https://git.end-play.xyz/profitroll/LibBotUniversal/wiki",
|
||||
"Source Code": "https://git.end-play.xyz/profitroll/LibBotUniversal.git",
|
||||
},
|
||||
packages=[
|
||||
"libbot",
|
||||
"libbot.i18n",
|
||||
"libbot.sync",
|
||||
],
|
||||
install_requires=["aiofiles~=23.1.0", "ujson==5.7.0"],
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Topic :: Utilities",
|
||||
],
|
||||
)
|
||||
if __name__ == "__main__":
|
||||
setup()
|
||||
|
Loading…
Reference in New Issue
Block a user