-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to pyproject.toml based build
- Loading branch information
Showing
10 changed files
with
98 additions
and
101 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
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
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
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
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,3 +1,77 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["setuptools>=61.2"] | ||
|
||
[project] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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", | ||
"Topic :: Software Development :: Internationalization", | ||
"Topic :: Software Development :: Localization", | ||
"Topic :: Utilities" | ||
] | ||
dependencies = [ | ||
"argcomplete", | ||
"python-dateutil", | ||
"pyxdg", | ||
"requests>=2.25.0", | ||
"urllib3>=1.26" | ||
] | ||
description = "A command-line utility for Weblate, translation tool with tight version control integration" | ||
dynamic = ["version"] | ||
keywords = [ | ||
"i18n", | ||
"l10n", | ||
"gettext", | ||
"git", | ||
"mercurial", | ||
"translate" | ||
] | ||
name = "wlc" | ||
requires-python = ">=3.8" | ||
|
||
[[project.authors]] | ||
email = "[email protected]" | ||
name = "Michal Čihař" | ||
|
||
[project.license] | ||
text = "GPL-3.0-or-later" | ||
|
||
[project.optional-dependencies] | ||
lint = ["pre-commit==3.4.0"] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"responses>=0.10.1,<0.24.0", | ||
"twine==4.0.2" | ||
] | ||
|
||
[project.readme] | ||
content-type = "text/markdown" | ||
file = "README.md" | ||
|
||
[project.scripts] | ||
wlc = "wlc.main:main" | ||
|
||
[project.urls] | ||
Documentation = "https://docs.weblate.org/" | ||
Download = "https://github.com/WeblateOrg/wlc" | ||
Funding = "https://weblate.org/donate/" | ||
Homepage = "https://weblate.org/" | ||
"Issue Tracker" = "https://github.com/WeblateOrg/wlc/issues" | ||
"Source Code" = "https://github.com/WeblateOrg/wlc" | ||
Twitter = "https://twitter.com/WeblateOrg" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
|
@@ -52,3 +126,15 @@ target-version = "py38" | |
|
||
[tool.ruff.mccabe] | ||
max-complexity = 16 | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
license-files = ["LICENSE"] | ||
packages = ["wlc"] | ||
platforms = ["any"] | ||
|
||
[tool.setuptools.dynamic.version] | ||
attr = "wlc.__version__" | ||
|
||
[tool.setuptools.package-dir] | ||
wlc = "wlc" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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