Skip to content

Commit d06a6d5

Browse files
KOLANICHparrt
authored andcommitted
Move the metadata into PEP 621-compliant pyproject.toml.
Signed-off-by: KOLANICH <[email protected]>
1 parent f6040f0 commit d06a6d5

File tree

3 files changed

+26
-25
lines changed

3 files changed

+26
-25
lines changed

runtime/Python3/pyproject.toml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
11
[build-system]
2-
requires = ["setuptools>=42.2"]
2+
requires = ["setuptools>=61.2"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "antlr4-python3-runtime"
7+
version = "4.12.0"
8+
authors = [{name = "Eric Vergnaud", email = "[email protected]"}, {name = "Terence Parr"}, {name = "Sam Harwell"}]
9+
license = {text = "BSD"}
10+
description = "ANTLR 4.12.0 runtime for Python 3"
11+
urls = {Homepage = "http://www.antlr.org"}
12+
dependencies = ["typing ; python_version<'3.5'"]
13+
14+
[project.scripts]
15+
pygrun = "antlr4._pygrun:main"
16+
17+
[tool.setuptools]
18+
package-dir = {"" = "src"}
19+
packages = [
20+
"antlr4",
21+
"antlr4.atn",
22+
"antlr4.dfa",
23+
"antlr4.tree",
24+
"antlr4.error",
25+
"antlr4.xpath",
26+
]
27+
include-package-data = false

runtime/Python3/setup.cfg

Lines changed: 0 additions & 23 deletions
This file was deleted.

scripts/files-to-update.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runtime/Go/antlr/recognizer.go
1010
runtime/Go/antlr/v4/recognizer.go
1111
runtime/Go/antlr/v4/antlrdoc.go
1212
runtime/Go/antlr/antlrdoc.go
13-
runtime/Python3/setup.cfg
13+
runtime/Python3/pyproject.toml
1414
runtime/Python3/src/antlr4/Recognizer.py
1515
runtime/Python2/setup.py
1616
runtime/Python2/src/antlr4/Recognizer.py

0 commit comments

Comments
 (0)