Exclude plugin tests, include all files from MANIFEST.in

This commit is contained in:
Šarūnas Nejus 2024-12-05 11:57:19 +00:00
parent af41eef776
commit ed3a53f2fe
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
3 changed files with 14 additions and 37 deletions

View file

@ -1,36 +0,0 @@
# Include tests (but avoid including *.pyc, etc.)
prune test
recursive-include test/rsrc *
recursive-exclude test/rsrc *.pyc
recursive-exclude test/rsrc *.pyo
include test/*.py
# Include relevant text files.
include LICENSE README.rst
# And generated manpages.
include man/beet.1
include man/beetsconfig.5
# Include the Sphinx documentation.
recursive-include docs *.rst *.py Makefile *.png
prune docs/_build
# Resources for web plugin.
recursive-include beetsplug/web/templates *
recursive-include beetsplug/web/static *
# And for the lastgenre plugin.
include beetsplug/lastgenre/genres.txt
include beetsplug/lastgenre/genres-tree.yaml
# Exclude junk.
global-exclude .DS_Store
# Include default config
include beets/config_default.yaml
# Shell completion template
include beets/ui/completion_base.sh
# Include extra bits
recursive-include extra *

View file

@ -7,12 +7,18 @@ Unreleased
----------
New features:
Bug fixes:
* :doc:`plugins/lyrics`: LRCLib will fallback to plain lyrics if synced lyrics
are not found and `synced` flag is set to `yes`.
* Synchronise files included in the source distribution with what we used to
have before the introduction of Poetry.
:bug:`5531`
:bug:`5526`
For packagers:
Other changes:
2.2.0 (December 02, 2024)

View file

@ -26,7 +26,14 @@ packages = [
{ include = "beets" },
{ include = "beetsplug" },
]
include = ["test", "man/**/*"] # extra files to include in the sdist
include = [ # extra files to include in the sdist
"docs",
"extra",
"man/**/*",
"test/*.py",
"test/rsrc/**/*",
]
exclude = ["docs/_build", "docs/modd.conf", "docs/**/*.css"]
[tool.poetry.urls]
Changelog = "https://github.com/beetbox/beets/blob/master/docs/changelog.rst"