Skip to content

Commit

Permalink
[build][dist] fix errors in migration to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
apalala committed Oct 22, 2023
1 parent 23f309f commit 14849fa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 27 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ include *.txt
include *.toml
include *.yaml
include Makefile
include .pylintrc

include grammar/*


include docs/*
Expand Down
57 changes: 30 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,44 +1,47 @@
[build-system]
requires = ["setuptools>=46.4", "wheel"]
build-backend = "setuptools.build_meta"
requires = ['setuptools>=46.4', 'wheel']
build-backend = 'setuptools.build_meta'

[project]
name = "TatSu"
dynamic = ["version"]
name = 'TatSu'
dynamic = ['version']
authors = [
{name = "Juancarlo Añez", email = "[email protected]"},
{name = 'Juancarlo Añez', email = '[email protected]'},
]
description = "TatSu takes a grammar in a variation of EBNF as input, and outputs a memoizing PEG/Packrat parser in Python."
readme = "README.rst"
requires-python = ">=3.11"
description = 'TatSu takes a grammar in a variation of EBNF as input, and outputs a memoizing PEG/Packrat parser in Python.'
readme = 'README.rst'
requires-python = '>=3.11'
keywords = []
license = {file = "LICENSE.TXT"}
license = {file = 'LICENSE.TXT'}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Interpreters",
"Topic :: Text Processing :: General",
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Compilers',
'Topic :: Software Development :: Interpreters',
'Topic :: Text Processing :: General',
]
dependencies = []

[project.optional-dependencies]
colorization = ["colorama"]
colorization = ['colorama']

[project.scripts]
tatsu = "tatsu:main"
g2e = "tatsu.g2e:main"
tatsu = 'tatsu:main'
g2e = 'tatsu.g2e:main'

[tool.setuptools]
packages = ["tatsu"]
include-package-data = false

[tool.setuptools.dynamic]
version = {attr = "tatsu._version.__version__"}
version = {attr = 'tatsu._version.__version__'}

[tool.setuptools.packages.find]
include = ['tatsu*', 'test*', 'grammar*']

0 comments on commit 14849fa

Please sign in to comment.