summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 7bd0740b83e2161b803b140c267d4fda1de04c42 (plain)
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "beautifulsoup4"
dynamic = ["version"]
description = "Screen-scraping library"
readme = "README.md"
license = "MIT"
requires-python = ">=3.6.0"
authors = [
    { name = "Leonard Richardson", email = "leonardr@segfault.org" },
]
keywords = [
    "HTML",
    "XML",
    "parse",
    "soup"
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Topic :: Software Development :: Libraries :: Python Modules",
    "Topic :: Text Processing :: Markup :: HTML",
    "Topic :: Text Processing :: Markup :: SGML",
    "Topic :: Text Processing :: Markup :: XML",
]
dependencies = [
    "soupsieve >1.2",
]

[project.optional-dependencies]
html5lib = [
    "html5lib",
]
lxml = [
    "lxml",
]

[project.urls]
Download = "https://www.crummy.com/software/BeautifulSoup/bs4/download/"
Homepage = "https://www.crummy.com/software/BeautifulSoup/bs4/"

[tool.hatch.version]
path = "bs4/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
    # The module itself.
    "/bs4/**/*.py",
    "/bs4/**/*.testcase",

    # Metadata.
    "/CHANGELOG",
    "/LICENSE",

    # Redundant metadata, just in case someone is depending on the
    # old filenames.
    "/COPYING.txt",
    "/NEWS.txt",

    # Scripts.
    "/test-all-versions",
    "/scripts/*.py",

    # Documentation source in various languages.
    "/doc*/Makefile",
    "/doc*/source/conf.py",
    "/doc*/source/*.rst",
    "/doc*/source/*.jpg",

    # The Japanese and Korean translations are in HTML format, not RST.
    "/doc.jp/index.html",
    "/doc.ko/*.jpg",
    "/doc.ko/index.css",
    "/doc.ko/index.html",
]