-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
81 lines (61 loc) · 2.28 KB
/
pyproject.toml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tool.poetry]
name = "DHParser"
version = "1.8.1"
description = "Parser Generator and DSL-construction-kit"
license = "Apache-2"
authors = ["Eckhart Arnold <eckhart.arnold@posteo.de>"]
readme = "README.md"
include = ['CHANGES.txt', 'Introduction.md']
repository = "https://gitlab.lrz.de/badw-it/DHParser"
homepage = "https://gitlab.lrz.de/badw-it/DHParser"
documentation = "https://dhparser.readthedocs.io/en/latest/"
keywords = [
'parser generator',
'domain specific languages',
'Digital Humanities',
'parsing expression grammar',
'EBNF'
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Text Processing :: Markup',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Compilers'
]
packages = [
{ include = "DHParser" }
]
# tool.setuptools_scm ?
# build = "DHParser/scripts/dhparser_build_cython.py"
# IN THE FUTURE, MAYBE:
# [tool.poetry.build]
# script = "DHParser/scripts/dhparser_build_cython.py"
# generate-setup-file = false
[tool.poetry.dependencies]
python = "^3.7"
regex = { version = "*", optional = true }
# cython = { version = "^0.30", optional = true }
[tool.poetry.dev-dependencies]
pytest = { version = "^5.0", optional = true }
[tool.poetry.scripts]
dhparser = 'DHParser.scripts.dhparser:main'
dhparser_build_cython = 'DHParser.scripts.dhparser_cythonize:main'
dhparser_cythononize = 'DHParser.scripts.dhparser_cythonize:main'
dhparser_cythonize_stringview = 'DHParser.scripts.dhparser_cythonize:main'
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools", "wheel"] # "Cython>=0.30"
build-backend = "poetry.core.masonry.api"