forked from rspeer/langcodes
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Migrate away from poetry since we don't need the additional fea…
…tures
- Loading branch information
1 parent
9a2414d
commit 486a955
Showing
2 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,45 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "langcodes" | ||
version = "3.3.0" | ||
description = "Tools for labeling human languages with IETF language tags" | ||
authors = ["Elia Robyn Speer <[email protected]>"] | ||
license = "MIT" | ||
authors = [{name = "Elia Robyn Speer", email = "[email protected]"}] | ||
maintainers = [{name = "Georg Krause", email = "[email protected]"}] | ||
readme = "README.md" | ||
homepage = "https://github.com/rspeer/langcodes" | ||
exclude = ["langcodes/data/cldr*"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"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", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">= 3.6" | ||
language-data = { version = "^1.1", optional = true } | ||
requires-python = ">= 3.6" | ||
dependencies = [ | ||
"language-data>=1.1" | ||
] | ||
|
||
[tool.poetry.dev-dependencies] | ||
language-data = { version = "^1.1", optional = true } | ||
[project.urls] | ||
Homepage = "https://github.com/georgkrause/langcodes" | ||
Repository = "https://github.com/georgkrause/langcodes" | ||
Issues = "https://github.com/georgkrause/langcodes/issues" | ||
|
||
[tool.poetry.extras] | ||
data = ["language-data"] | ||
|
||
[tool.flake8] | ||
max-line-length = 99 | ||
[project.optional-dependencies] | ||
test = [ | ||
'pytest', | ||
'pytest-cov' | ||
] | ||
build = [ | ||
'build', | ||
'twine' | ||
] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["setuptools>=60", "setuptools-scm>=8.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
[tox] | ||
envlist = py36, py37, py38, py39, py310 | ||
envlist = py36, py37, py38, py39, py310, py311, py312 | ||
skipsdist = True | ||
|
||
[testenv] | ||
deps = | ||
pytest | ||
marisa_trie | ||
language_data | ||
poetry | ||
commands = poetry install -E data | ||
commands = pip install . | ||
pytest |