Use poetry instead of setup.py

This commit is contained in:
Sumner Evans
2020-10-15 00:16:05 -06:00
parent e0b4cfeed1
commit b61acffa0d
8 changed files with 42 additions and 99 deletions

View File

@@ -1,28 +1,32 @@
[tool.poetry]
name = "sublime_music"
version = "0.11.10"
version = "0.11.11-devel"
description = "A native GTK *sonic client."
license = "GPL-3.0-or-later"
authors = ["Sumner Evans <inquiries@sumnerevans.com>"]
readme = "README.rst"
homepage = "https://sublimemusic.app"
repository = "https://sr.ht/~sumner/sublime-music"
documentation = "https://sublime-music.gitlab.io/sublime-music/"
keywords = ["airsonic", "music", "chromecast", "subsonic"]
repository = "https://gitlab.com/sublime-music/sublime-music"
documentation = "https://sublime-music.gitlab.io/sublime-music"
keywords = ["airsonic", "music", "GTK", "chromecast", "subsonic"]
classifiers = [
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Environment :: X11 Applications :: GTK",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Topic :: Multimedia :: Sound/Audio :: Players",
]
# TODO
exclude = ["tests"]
exclude = [
"tests",
"sublime_music/adapters/subsonic/api_specs"
]
[tool.poetry.urls]
"Bug Tracker" = "https://todo.sr.ht/~sumner/sublime-music"
"Bug Tracker" = "https://gitlab.com/sublime-music/sublime-music/-/issues"
[tool.poetry.scripts]
sublime-music = 'sublime_music.__main__:main'
@@ -30,19 +34,19 @@ sublime-music = 'sublime_music.__main__:main'
[tool.poetry.dependencies]
python = "^3.8"
bleach = "^3.2.1"
bottle = {version = "^0.12.18", optional = true}
dataclasses-json = "^0.5.2"
deepdiff = "^5.0.2"
fuzzywuzzy = "^0.18.0"
keyring = {version = "^21.4.0", optional = true}
peewee = "^3.13.3"
pychromecast = {version = "^7.3.0", optional = true}
PyGObject = "^3.38.0"
python-dateutil = "^2.8.1"
python-Levenshtein = "^0.12.0"
python-mpv = "^0.5.2"
requests = "^2.24.0"
semver = "^2.10.2"
bottle = {version = "^0.12.18", optional = true}
keyring = {version = "^21.4.0", optional = true}
pychromecast = {version = "^7.3.0", optional = true}
[tool.poetry.dev-dependencies]
black = "^20.8b1"
@@ -56,11 +60,11 @@ flake8-pep3101 = "^1.3.0"
flake8-print = "^3.1.4"
mypy = "^0.782"
pytest-cov = "^2.10.1"
termcolor = "^1.1.0"
requirements-parser = "^0.2.0"
rst2html5 = "^1.10.6"
sphinx = "^3.2.1"
sphinx_rtd_theme = "^0.5.0"
rst2html5 = "^1.10.6"
termcolor = "^1.1.0"
[tool.poetry.extras]
chromecast = ["pychromecast"]