Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (59 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (59 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Modifications ©AngelaMos | 2026 for the yang fork of yapf.
[build-system]
requires = ["setuptools>=58.5.0"]
build-backend = "setuptools.build_meta"
[project]
name = "yang-fmt"
description = "A maintained fork of YAPF that formats Python 3.14 code"
authors = [{ name = "Google Inc." }, { name = "AngelaMos" }]
maintainers = [{ name = "Carter Perez" }]
dynamic = ["version"]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'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',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
]
dependencies = ['platformdirs>=3.5.1', 'tomli>=2.0.1; python_version<"3.11"']
[project.scripts]
yang = "yang:run_main"
yang-diff = "yang_third_party.yang_diff.yang_diff:main"
[project.urls]
Home = 'https://github.com/CarterPerez-dev/yang'
Changelog = 'https://github.com/CarterPerez-dev/yang/blob/main/CHANGELOG.md'
Docs = 'https://github.com/CarterPerez-dev/yang/blob/main/README.md'
Issues = 'https://github.com/CarterPerez-dev/yang/issues'
Upstream = 'https://github.com/google/yapf'
[tool.distutils.bdist_wheel]
python_tag = "py3"
[tool.setuptools]
include-package-data = true
package-dir = { yang_third_party = 'third_party/yang_third_party' }
[tool.setuptools.dynamic]
version = { attr = "yang._version.__version__" }
[tool.setuptools.packages.find]
where = [".", 'third_party']
include = ["yang*", 'yangtests*']
[tool.setuptools.package-data]
yang_third_party = [
'yang_diff/LICENSE',
'_ylib2to3/Grammar.txt',
'_ylib2to3/PatternGrammar.txt',
'_ylib2to3/LICENSE',
]