|
1 | 1 | [build-system]
|
2 |
| -# Minimum requirements for the build system to execute. |
3 |
| -requires = ["setuptools", "wheel"] # PEP 508 specifications. |
4 |
| -build-backend = "setuptools.build_meta" |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "tldr" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Python command line client for tldr." |
| 9 | +readme = "README.md" |
| 10 | +license = "MIT" |
| 11 | +requires-python = "~=3.9" |
| 12 | +authors = [ |
| 13 | + { name = "Felix Yan and tldr-pages contributors" }, |
| 14 | +] |
| 15 | +keywords = [ |
| 16 | + "tldr", |
| 17 | + "tldr-pages", |
| 18 | + "cheatsheets", |
| 19 | + "man", |
| 20 | + "manpages", |
| 21 | + "documentation" |
| 22 | +] |
| 23 | +classifiers = [ |
| 24 | + "Development Status :: 5 - Production/Stable", |
| 25 | + "Environment :: Console", |
| 26 | + "Intended Audience :: End Users/Desktop", |
| 27 | + "Intended Audience :: Developers", |
| 28 | + "Intended Audience :: Education" |
| 29 | + "License :: OSI Approved :: MIT License", |
| 30 | + "Natural Language :: English", |
| 31 | + "Operating System :: Android", |
| 32 | + "Operating System :: MacOS :: MacOS X", |
| 33 | + "Operating System :: Microsoft :: Windows", |
| 34 | + "Operating System :: POSIX", |
| 35 | + "Operating System :: POSIX :: BSD :: FreeBSD", |
| 36 | + "Operating System :: POSIX :: BSD :: NetBSD", |
| 37 | + "Operating System :: POSIX :: BSD :: OpenBSD", |
| 38 | + "Operating System :: POSIX :: Linux", |
| 39 | + "Operating System :: POSIX :: SunOS/Solaris", |
| 40 | + "Programming Language :: Python :: 3.9", |
| 41 | + "Programming Language :: Python :: 3.10", |
| 42 | + "Programming Language :: Python :: 3.11", |
| 43 | + "Programming Language :: Python :: 3.12", |
| 44 | + "Programming Language :: Python :: 3.13", |
| 45 | + "Topic :: Documentation", |
| 46 | + "Topic :: Software Development :: Documentation", |
| 47 | + "Topic :: System", |
| 48 | + "Topic :: Utilities", |
| 49 | +] |
| 50 | +dependencies = [ |
| 51 | + "colorama; sys_platform=='win32'", |
| 52 | + "shtab>=1.3.10", |
| 53 | + "termcolor", |
| 54 | +] |
| 55 | +[project.optional-dependencies] |
| 56 | +cli = [ |
| 57 | + "pytest", |
| 58 | + "pytest-runner", |
| 59 | + "flake8", |
| 60 | + "sphinx", |
| 61 | + "sphinx-argparse" |
| 62 | +] |
| 63 | + |
| 64 | +[project.scripts] |
| 65 | +tldr = "tldr:cli" |
| 66 | + |
| 67 | +[project.urls] |
| 68 | +Homepage = "https://tldr.sh" |
| 69 | +Source = "https://github.com/tldr-pages/tldr-python-client" |
| 70 | +Issues = "https://github.com/tldr-pages/tldr-python-client/issues" |
| 71 | +Changelog = "https://github.com/tldr-pages/tldr-python-client/blob/main/CHANGELOG.md" |
| 72 | +Funding = "https://liberapay.com/tldr-pages" |
| 73 | + |
| 74 | +[tool.hatch.version] |
| 75 | +path = "tldr/__init__.py" |
| 76 | + |
| 77 | +[tool.hatch.build.targets.wheel.shared-data] |
| 78 | +"docs/man" = "share/man/man1" |
| 79 | + |
| 80 | +[tool.hatch.build.targets.sdist] |
| 81 | +include = [ |
| 82 | + "/tldr", |
| 83 | +] |
0 commit comments