|
| 1 | +[build-system] |
| 2 | +requires = [ |
| 3 | + "setuptools~=82.0.0", |
| 4 | + "wheel", |
| 5 | +] |
| 6 | +build-backend = "setuptools.build_meta" |
| 7 | + |
| 8 | +[project] |
| 9 | +name = "is-legacy-terminal" |
| 10 | +version = "1.0.0" |
| 11 | +description = "Detect whether the terminal is legacy." |
| 12 | +authors = [ |
| 13 | + { name = "Adam Lui", email = "adam@kudoai.com" }, |
| 14 | +] |
| 15 | +readme = "docs/README.md" |
| 16 | +license = "MIT" |
| 17 | +license-files = [ |
| 18 | + "docs/LICENSE.md", |
| 19 | +] |
| 20 | +dependencies = [ |
| 21 | + "colorama~=0.4.6 ; platform_system == 'Windows'", |
| 22 | + "json5~=0.13.0", |
| 23 | +] |
| 24 | +requires-python = ">=3.8,<4" |
| 25 | +keywords = [ |
| 26 | + "ansi", |
| 27 | + "api", |
| 28 | + "cli", |
| 29 | + "cmd", |
| 30 | + "compatibility", |
| 31 | + "conhost", |
| 32 | + "console", |
| 33 | + "detect", |
| 34 | + "detection", |
| 35 | + "dev-tool", |
| 36 | + "flicker", |
| 37 | + "legacy", |
| 38 | + "powershell", |
| 39 | + "shell", |
| 40 | + "support", |
| 41 | + "supported", |
| 42 | + "supports", |
| 43 | + "terminal", |
| 44 | + "vt100", |
| 45 | + "windows-console", |
| 46 | +] |
| 47 | +classifiers = [ |
| 48 | + "Development Status :: 5 - Production/Stable", |
| 49 | + "Environment :: Console", |
| 50 | + "Intended Audience :: Developers", |
| 51 | + "Intended Audience :: End Users/Desktop", |
| 52 | + "Intended Audience :: Information Technology", |
| 53 | + "Intended Audience :: System Administrators", |
| 54 | + "Natural Language :: English", |
| 55 | + "Operating System :: OS Independent", |
| 56 | + "Programming Language :: Python", |
| 57 | + "Programming Language :: Python :: 3", |
| 58 | + "Programming Language :: Python :: 3 :: Only", |
| 59 | + "Programming Language :: Python :: 3.8", |
| 60 | + "Programming Language :: Python :: 3.9", |
| 61 | + "Programming Language :: Python :: 3.10", |
| 62 | + "Programming Language :: Python :: 3.11", |
| 63 | + "Programming Language :: Python :: 3.12", |
| 64 | + "Programming Language :: Python :: 3.13", |
| 65 | + "Programming Language :: Python :: 3.14", |
| 66 | + "Programming Language :: Python :: 3.15", |
| 67 | + "Topic :: Software Development", |
| 68 | + "Topic :: Software Development :: Libraries", |
| 69 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 70 | + "Topic :: System", |
| 71 | + "Topic :: System :: Shells", |
| 72 | + "Topic :: System :: Systems Administration", |
| 73 | + "Topic :: Terminals", |
| 74 | + "Topic :: Utilities", |
| 75 | + "Typing :: Typed", |
| 76 | +] |
| 77 | + |
| 78 | +[project.urls] |
| 79 | +Changelog = "https://github.com/adamlui/python-utils/releases/tag/is-legacy-terminal-1.0.0" |
| 80 | +Documentation = "https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/docs" |
| 81 | +Funding = "https://github.com/sponsors/adamlui" |
| 82 | +Homepage = "https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/#readme" |
| 83 | +Issues = "https://github.com/adamlui/python-utils/issues" |
| 84 | +"PyPI Stats" = "https://pepy.tech/projects/is-legacy-terminal" |
| 85 | +Releases = "https://github.com/adamlui/python-utils/releases" |
| 86 | +Repository = "https://github.com/adamlui/python-utils" |
| 87 | + |
| 88 | +[project.scripts] |
| 89 | +is-legacy-terminal = "is_legacy_terminal.cli.__main__:main" |
| 90 | +is-legacy-term = "is_legacy_terminal.cli.__main__:main" |
| 91 | +is-legacy-console = "is_legacy_terminal.cli.__main__:main" |
| 92 | +is-terminal-legacy = "is_legacy_terminal.cli.__main__:main" |
| 93 | +is-term-legacy = "is_legacy_terminal.cli.__main__:main" |
| 94 | +is-console-legacy = "is_legacy_terminal.cli.__main__:main" |
| 95 | +islegacyterminal = "is_legacy_terminal.cli.__main__:main" |
| 96 | +islegacyterm = "is_legacy_terminal.cli.__main__:main" |
| 97 | +islegacyconsole = "is_legacy_terminal.cli.__main__:main" |
| 98 | +isterminallegacy = "is_legacy_terminal.cli.__main__:main" |
| 99 | +istermlegacy = "is_legacy_terminal.cli.__main__:main" |
| 100 | +isconsolelegacy = "is_legacy_terminal.cli.__main__:main" |
| 101 | + |
| 102 | +[project.optional-dependencies] |
| 103 | +dev = [ |
| 104 | + "nox>=2026.2.9", |
| 105 | + "remove-json-keys~=1.9.1", |
| 106 | + "tomli~=2.4.0", |
| 107 | + "tomli-w~=1.2.0", |
| 108 | + "translate-messages~=1.9.0", |
| 109 | +] |
| 110 | + |
| 111 | +[tool.setuptools.packages.find] |
| 112 | +where = [ |
| 113 | + "src", |
| 114 | +] |
| 115 | + |
| 116 | +[tool.setuptools.package-data] |
| 117 | +is_legacy_terminal = [ |
| 118 | + "data/*.json", |
| 119 | + "data/_locales/en/messages.json", |
| 120 | +] |
0 commit comments