-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
121 lines (110 loc) · 2.51 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# =-
# (C)opyright Net-ng 2008-2024
#
# This is Net-ng proprietary source code
# Any reproduction modification or use without prior written
# approval from Net-ng is strictly forbidden.
# =-
[build-system]
requires = [
'setuptools',
'wheel',
'setuptools_scm',
'webassets',
'PyYAML'
]
build-backend = 'backend'
backend-path = ['src/nagare/custom_build']
[tool.setuptools_scm]
[project]
name = 'nagare'
dynamic = ['version', 'entry-points']
description = 'Components-based web Python framework'
authors = [{ name = 'Net-ng' }, { email = '[email protected]' }]
license = { file = 'LICENSE.txt' }
keywords = [
'web',
'framework',
'components',
'stateful',
'continuation',
'ajax',
]
classifiers = [
'Framework :: Nagare',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Environment :: Web Environment',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
requires-python = '>=3.8'
dependencies = [
'WebOb',
"legacy-cgi ; python_full_version>='3.13.0a1'",
'filetype',
'tinyaes',
'nagare-partial',
'nagare-editor',
'nagare-server-mvc',
'nagare-services-sessions',
'nagare-renderers-html',
'nagare-services-i18n',
]
[project.optional-dependencies]
dev = [
'nagare-services-webassets',
'PyYAML',
'sphinx',
'sphinx_rtd_theme',
'pre-commit',
'ruff',
'pytest',
'twine',
]
[project.readme]
file = 'README.rst'
content-type = 'text/x-rst'
[tool.setuptools.dynamic]
entry-points = { file = 'entry-points.txt' }
[tool.setuptools.package-data]
'nagare.static' = ['**/*']
[project.urls]
Homepage = 'https://nagare.org'
Documentation = 'https://nagare.org/doc'
Source = 'https://github.com/nagareproject/core'
Tracker = 'https://github.com/nagareproject/core/issues'
[tool.ruff]
src = ['src']
line-length = 120
format.quote-style = 'single'
[tool.ruff.lint]
select = [
'C4',
'COM',
'D',
'E',
'ERA',
'F',
'I',
'ISC',
'INP',
'PIE',
'Q',
'S',
'SIM',
'TID',
'W',
'YTT',
]
ignore = ['COM812', 'D10', 'D401', 'S311', 'S305', 'ISC001']
isort.length-sort = true
pydocstyle.convention = 'google'
flake8-quotes.inline-quotes = 'single'
[tool.pytest.ini_options]
testpaths = ['tests']