From fd79c481e3f15b6c4bd05e2ed1696ca0fa4b47cd Mon Sep 17 00:00:00 2001 From: KeksNino Date: Wed, 15 Apr 2026 19:50:59 +0200 Subject: [PATCH] switch from poetry to uv --- .gitignore | 6 +++++- pyproject.toml | 36 +++++++++++++++++++----------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index aa87166..9c2f7c3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,8 @@ env *.log __pycache__ notes -.DS_Store \ No newline at end of file +.DS_Store +build +dist +*.spec +*.lock diff --git a/pyproject.toml b/pyproject.toml index 773e396..2ce1b38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,25 +1,27 @@ -[tool.poetry] +[project] name = "free-bandcamp-downloader" version = "0.5.1" description = "Download free and name-your-price albums from Bandcamp in lossless quality" -authors = ["7x11x13 "] -license = "MIT" readme = "README.md" +license = { text = "MIT" } +authors = [ + { name = "7x11x13", email = "x7x11x13@gmail.com" } +] +requires-python = ">=3.8" -[tool.poetry.scripts] +dependencies = [ + "requests>=2.31.0,<3.0.0", + "beautifulsoup4>=4.12.2,<5.0.0", + "tqdm>=4.66.1,<5.0.0", + "pyrfc6266>=1.0.2,<2.0.0", + "mutagen>=1.47.0,<2.0.0", + "docopt-ng>=0.9.0,<1.0.0", + "python-guerrillamail>=0.2.0,<1.0.0" +] + +[project.scripts] bcdl-free = "free_bandcamp_downloader.__main__:main" -[tool.poetry.dependencies] -python = "^3.8" -requests = "^2.31.0" -beautifulsoup4 = "^4.12.2" -tqdm = "^4.66.1" -pyrfc6266 = "^1.0.2" -mutagen = "^1.47.0" -docopt-ng = "^0.9.0" -python-guerrillamail = "^0.2.0" - - [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta"