forked from kurtmckee/feedparser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
77 lines (59 loc) · 1.91 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
[tool.poetry]
name = "feedparser"
version = "6.0.2"
description = "Parse Atom/RSS/JSON feeds in Python"
readme = "README.rst"
repository = "https://github.com/kurtmckee/feedparser/"
documentation = "https://feedparser.readthedocs.io/en/latest/"
authors = ["Kurt McKee <[email protected]>"]
license = "BSD-2-Clause"
keywords = ["atom", "feed", "json", "rdf", "rss"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Markup",
]
include = ["feedparser/py.typed"]
[tool.poetry.dependencies]
python = "^3.6"
sgmllib3k = "^1.0.0"
[tool.poetry.dev-dependencies]
tox = "^3.20.1"
Sphinx = "^3.4.1"
scriv = "^0.10.0"
# mypy depends on typed_ast, which doesn't work with PyPy3.
# https://github.com/python/typed_ast/issues/111
mypy = {version = "^0.910", markers = "implementation_name != 'pypy'"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{310, 39, py3, 38, 37, 36}{-chardet, }, docs, mypy
skip_missing_interpreters = True
isolated_build = True
[testenv]
deps =
chardet: chardet
commands = {envpython} -Wd tests/runtests.py
[testenv:docs]
allowlist_externals = sphinx-build
commands = sphinx-build -EWnq --keep-going -b html docs/ fpdocs/
[testenv:mypy]
commands = mypy feedparser
deps =
mypy
types-chardet
"""
[tool.scriv]
version = "literal: feedparser/__init__.py: __version__"
categories = ["Added", "Fixed", "Removed", "Changed", "Deprecated", "Security"]
entry_title_template = "{{ version }} - {{ date.strftime('%Y-%m-%d') }}"
format = "rst"
fragment_directory = "changelog.d"
insert_marker = "scriv-insert-here"
main_branches = ["develop", "master"]
new_fragment_template = "file: fragment-template.rst.txt"
[tool.mypy]
show_error_codes = true