fix: small errors while testing

This commit is contained in:
Hazel 2024-04-10 13:47:35 +02:00
parent 40b0ff6f7b
commit b79ba349ce
4 changed files with 13 additions and 8 deletions

8
build
View File

@ -25,11 +25,11 @@ shift $((OPTIND -1))
# install dev dependencies # install dev dependencies
echo "installing dev dependencies..." echo "installing dev dependencies..."
sudo python3 -m pip install -r requirements-dev.txt python3 -m pip install -r requirements-dev.txt
hatch version ${version_bump} # hatch version ${version_bump}
git add "music_kraken/__init__.py" # git add "music_kraken/__init__.py"
git commit -m "bump: ${version_bump}" # git commit -m "bump: ${version_bump}"
# build the wheels # build the wheels
python3 -m build python3 -m build

View File

@ -9,7 +9,7 @@ from rich.console import Console
from .utils.shared import DEBUG, DEBUG_LOGGING from .utils.shared import DEBUG, DEBUG_LOGGING
from .utils.config import logging_settings, main_settings, read_config from .utils.config import logging_settings, main_settings, read_config
__version__ = "1.9.0" __version__ = "1.11.0"
read_config() read_config()

View File

@ -683,3 +683,7 @@ class Label(Base):
options.extend(self.album_collection.shallow_list) options.extend(self.album_collection.shallow_list)
return options return options
@property
def option_string(self):
return self.__repr__()

View File

@ -6,7 +6,7 @@ build-backend = "hatchling.build"
directory = "dist" directory = "dist"
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]
include = ["music_kraken/*.py" ] include = ["music_kraken/*.py", "music_kraken/**/*.py" ]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["music_kraken"] packages = ["music_kraken"]
@ -41,15 +41,16 @@ dependencies = [
"responses~=0.24.1", "responses~=0.24.1",
"beautifulsoup4~=4.11.1", "beautifulsoup4~=4.11.1",
"ffmpeg-python~=0.2.0", "pyffmpeg",
"ffmpeg-progress-yield~=0.7.8", "ffmpeg-progress-yield~=0.7.8",
"mutagen~=1.46.0", "mutagen~=1.46.0",
"rich",
"mistune~=3.0.2", "mistune~=3.0.2",
"html2markdown~=0.1.7", "html2markdown~=0.1.7",
"jellyfish~=0.9.0", "jellyfish~=0.9.0",
"transliterate~=1.10.2", "transliterate~=1.10.2",
"pycountry~=24.0.1", "pycountry~=23.12.11",
"python-dotenv~=1.0.1", "python-dotenv~=1.0.1",
"tqdm~=4.65.0", "tqdm~=4.65.0",