From bf111d06cb4ffc9dbe0b57fbf83a3c236365c2ad Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 27 Jan 2021 01:43:09 +0000 Subject: [PATCH] migrated to poetry dependency management --- .gitignore | 3 ++- pyproject.toml | 21 +++++++++++++++++++++ requirements.txt | 9 --------- 3 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 pyproject.toml delete mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index 751c056..e54fc0e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ __pycache__ *.dist/ .idea .fm -scratch.py \ No newline at end of file +scratch.py +poetry.lock \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..222554f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[tool.poetry] +name = "fmframework" +version = "1.0.0" +description = "Last.fm HTTP wrapper library" +authors = ["andy "] +repository = "https://github.com/Sarsoo/fmframework" + +[tool.poetry.dependencies] +python = "^3.8" +requests = "^2.24.0" +beautifulsoup4 = "^4.9.3" + +[tool.poetry.dev-dependencies] +pylint = "2.5.3" + +[tool.poetry.extras] +image = ["opencv-python", "numpy"] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index dd40cd2..0000000 --- a/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -beautifulsoup4==4.9.1 -certifi==2020.6.20 -chardet==3.0.4 -idna==2.10 -numpy==1.19.0 -opencv-python==4.3.0.36 -requests==2.24.0 -soupsieve==2.0.1 -urllib3==1.25.9