1
1
mirror of https://git.launchpad.net/beautifulsoup synced 2025-10-06 00:12:49 +02:00

Some cleanup work to get more consistent and complete about what gets packaged with the Beautiful Soup release.

This commit is contained in:
Leonard Richardson
2022-04-08 17:05:06 -04:00
parent 4430c10a14
commit 0c75dd4a83
6 changed files with 42 additions and 13 deletions

View File

@@ -1,8 +1,21 @@
Beautiful Soup's official support for Python 2 ended on December 31st,
2020. The final release to support Python 2 was Beautiful Soup
Beautiful Soup's official support for Python 2 ended on January 1st,
2021. The final release to support Python 2 was Beautiful Soup
4.9.3. In the Launchpad Bazaar repository, the final revision to support
Python 2 was revision 605.
= 4.11.1 (20220408)
This release was done to ensure that the unit tests are packaged along
with the released source. There are no functionality changes in this
release, but there are a few other packaging changes:
* The Japanese and Korean translations of the documentation are included.
* The changelog is now packaged as CHANGELOG, and the license file is
packaged as LICENSE. NEWS.txt and COPYING.txt are still present,
but may be removed in the future.
* TODO.txt is no longer packaged, since a TODO is not relevant for released
code.
= 4.11.0 (20220407)
* Ported unit tests to use pytest.

View File

@@ -1,6 +1,6 @@
Beautiful Soup is made available under the MIT license:
Copyright (c) 2004-2019 Leonard Richardson
Copyright (c) 2004-2022 Leonard Richardson
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,10 +1,25 @@
include test-all-versions
include convert-py3k
# Project metadata
include LICENSE
include *.txt
include doc*/Makefile
include doc*/source/*.py
include doc*/source/*.rst
include doc*/source/*.jpg
include CHANGELOG
# Redundant metadata just in case someone is depending on the
# old versions
include COPYING.txt
include NEWS.txt
# scripts
include test-all-versions
include scripts/*.py
include scripts/*.txt
# Documentation source in various languages.
include doc*/Makefile
include doc*/source/conf.py
include doc*/source/*.rst
include doc*/source/*.jpg
# Japanese and Korean translations are in HTML format, not RST.
include doc.jp/index.html
include doc.ko/*.jpg
include doc.ko/index.css
include doc.ko/index.html

View File

@@ -15,7 +15,7 @@ documentation: http://www.crummy.com/software/BeautifulSoup/bs4/doc/
"""
__author__ = "Leonard Richardson (leonardr@segfault.org)"
__version__ = "4.11.0"
__version__ = "4.11.1"
__copyright__ = "Copyright (c) 2004-2022 Leonard Richardson"
# Use of this source code is governed by the MIT license.
__license__ = "MIT"

View File

@@ -16,7 +16,7 @@
# Make sure tests pass
./test-all-versions
rm -rf build dist
rm -rf build dist beautifulsoup4.egg-info
# Make both sdist and wheels.
python3 setup.py sdist bdist_wheel

View File

@@ -25,7 +25,8 @@ setup(
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(exclude=['tests*', '*.tests*']),
packages=['bs4', 'bs4/builder', 'bs4/tests'],
# NOTE: Stuff like the documentation is included via MANIFEST.in
extras_require = {
'lxml' : [ 'lxml'],
'html5lib' : ['html5lib'],