Skip to content

Commit

Permalink
Merge pull request #158 from mammothb/build/use-pyproject.toml
Browse files Browse the repository at this point in the history
build: configure package with pyproject.toml
  • Loading branch information
mammothb authored Aug 31, 2024
2 parents 0932ad4 + 7cafc46 commit 294d3be
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 41 deletions.
46 changes: 45 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
[build-system]
requires = ["setuptools>=58.0.4", "wheel"]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "symspellpy"
dynamic = ["version"]
dependencies = [
"editdistpy>=0.1.3",
]
requires-python = ">=3.8"
authors = [
{name = "mmb L"},
]
description = "Python SymSpell"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["spellchecker", "symspell", "word segmentation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[project.urls]
Repository = "https://github.com/mammothb/symspellpy"
Documentation = "https://symspellpy.readthedocs.io/en/latest"
Changelog = "https://github.com/mammothb/symspellpy/blob/master/CHANGELOG.md"

[tool.basedpyright]
ignore = ["tests"]
pythonVersion = "3.8"
Expand All @@ -18,3 +52,13 @@ indent-style = "space"
line-ending = "auto"
quote-style = "double"
skip-magic-trailing-comma = false

[tool.setuptools.dynamic]
version = {attr = "symspellpy.__version__"}

[tool.setuptools.packages.find]
where = ["."]
include = ["symspellpy"]

[tool.setuptools.package-data]
symspellpy = ["frequency_*.txt"]
40 changes: 0 additions & 40 deletions setup.cfg

This file was deleted.

0 comments on commit 294d3be

Please sign in to comment.