migrated to poetry dependency management

This commit is contained in:
andy 2021-01-27 01:43:09 +00:00
parent ee8471ee72
commit bf111d06cb
3 changed files with 23 additions and 10 deletions

3
.gitignore vendored
View File

@ -5,4 +5,5 @@ __pycache__
*.dist/
.idea
.fm
scratch.py
scratch.py
poetry.lock

21
pyproject.toml Normal file
View File

@ -0,0 +1,21 @@
[tool.poetry]
name = "fmframework"
version = "1.0.0"
description = "Last.fm HTTP wrapper library"
authors = ["andy <andy@sarsoo.xyz>"]
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"

View File

@ -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