Skip to content

Commit

Permalink
meta: switch to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Exirel committed Nov 11, 2023
1 parent 2e2744d commit 995f708
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 51 deletions.
58 changes: 58 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[build-system]
requires = ["setuptools~=63.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
platforms = ["Linux x86, x86-64"]

[tool.setuptools.packages.find]
include = ["sopel", "sopel_help.*"]
namespaces = false

[project]
name = "sopel-help"
version = "0.5.0.dev0"
description = "Help plugin for Sopel"
maintainers = [
{ name="dgw", email="[email protected]" },
{ name="Florian Strzelecki", email="[email protected]" },
]
authors = [
{ name="dgw", email="[email protected]" },
{ name="Florian Strzelecki", email="[email protected]" },
]
readme = "README.rst"
license = { text="EFL-2.0" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: Eiffel Forum License (EFL)",
"License :: OSI Approved :: Eiffel Forum License",
"Operating System :: POSIX :: Linux",
"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 :: Communications :: Chat :: Internet Relay Chat",
]
requires-python = ">=3.7"
dependencies = [
"sopel>=7.1",
"requests",
]

[project.urls]
"Bug Tracker" = "https://github.com/sopel-irc/sopel-help/issues"
"Source" = "https://github.com/sopel-irc/sopel-help"

[project.entry-points."sopel.plugins"]
help = "sopel_help.plugin"

[project.entry-points."sopel_help.providers"]
base = "sopel_help.providers:Base"
local = "sopel_help.providers:LocalFile"
clbin = "sopel_help.providers:CLBinPublisher"
0x0 = "sopel_help.providers:NullPointerPublisher"
termbin = "sopel_help.providers:TermBinPublisher"
48 changes: 0 additions & 48 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,51 +1,3 @@
[metadata]
name = sopel-help
version = 0.4.0
description = Help plugin for Sopel
keywords = sopel plugin help bot irc
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Florian Strzelecki
author_email = [email protected]
url = https://github.com/sopel-irc/sopel-help
license = Eiffel Forum License, version 2
license_file = LICENSE.txt
platforms = Linux x86, x86-64
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: Eiffel Forum License (EFL)
License :: OSI Approved :: Eiffel Forum License
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Communications :: Chat :: Internet Relay Chat

[options]
python_requires = >=3.7, <4
packages = find:
zip_safe = false
install_requires =
sopel>=7.1
requests

[options.packages.find]
exclude =
sopel
sopel.*

[options.entry_points]
sopel.plugins =
help = sopel_help.plugin
sopel_help.providers =
base = sopel_help.providers:Base
local = sopel_help.providers:LocalFile
clbin = sopel_help.providers:CLBinPublisher
0x0 = sopel_help.providers:NullPointerPublisher
termbin = sopel_help.providers:TermBinPublisher

[flake8]
max-line-length = 79
exclude = .git, .eggs, __pycache__, tests/, docs/, build/, dist/
Expand Down
3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit 995f708

Please sign in to comment.