diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-04-05 08:54:57 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-04-05 08:54:57 -0400 |
commit | c8ec7d1e72c9aaa840cde48d3204fdfa1e872232 (patch) | |
tree | 4333c7c183ef168051dcd1f65db384b70684a556 | |
parent | abd7418a45182fa4296b3d91ba0aca865dad4792 (diff) |
Add the pyproject.toml file.
-rw-r--r-- | pyproject.toml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8f965d1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,82 @@ +[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", + "/scripts/*.txt", + + # 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", +] |