-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
123 lines (112 loc) · 3.33 KB
/
setup.cfg
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
122
123
# setup.cfg
#
# Copyright (C) 2022-2024 Franco Masotti (see /README.md)
#
# This file is part of md-toc.
#
# md-toc is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# md-toc is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with md-toc. If not, see <http://www.gnu.org/licenses/>.
#
[metadata]
name = md_toc
# 'version' needs setuptools >= 39.2.0.
version = 9.0.0
license = GPLv3+,
description = Automatically generate and add an accurate table of contents to markdown files
long_description = file: README.md
long_description_content_type = text/markdown
author = Franco Masotti
author_email = franco.masotti@tutanota.com
keywords =
markdown
toc
text
table-of-contents
documentation
url = https://blog.franco.net.eu.org/software/#md-toc
project_urls =
Bug Tracker = https://github.com/frnmst/md-toc/issues
Documentation = https://docs.franco.net.eu.org/md-toc/
API Reference = https://docs.franco.net.eu.org/md-toc/api.html
Source Code = https://github.com/frnmst/md-toc
Changelog = https://blog.franco.net.eu.org/software/CHANGELOG-md-toc.html
Funding = https://github.com/frnmst/md-toc#support-this-project
classifiers =
Development Status :: 5 - Production/Stable
Topic :: Documentation
Topic :: Software Development
Topic :: Text Processing
Topic :: Text Processing :: Markup :: Markdown
Topic :: Utilities
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
Intended Audience :: Information Technology
Environment :: Console
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Programming Language :: Python :: 3
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
[options]
# https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special
python_requires = >=3.8
install_requires = file: requirements.txt
packages = find:
[options.entry_points]
console_scripts =
md_toc = md_toc.__main__:main
[options.packages.find]
exclude=
*tests*
[options.package_data]
* = *.txt, *.rst
[yapf]
based_on_style = pep8
indent_width = 4
[flake8]
ignore =
E125
E131
E501
W503
W504
F401
[isort]
# See
# https://github.com/ESMValGroup/ESMValCore/issues/777
multi_line_output = 3
include_trailing_comma = true
[tox:tox]
requires =
tox>=4
env_list = py{38,39,310,311,312,313}
[testenv]
description = run the tests with unittest
package = wheel
wheel_build_env = .pkg
deps =
-r requirements.txt
-r requirements-dev.txt
commands =
python3 -m unittest md_toc.tests.tests --failfast --locals --verbose
[testenv:fuzzer]
description = run the fuzzer
package = wheel
wheel_build_env = .pkg
deps =
atheris>=2.3,<2.4
commands =
python3 -m md_toc.tests.fuzzer