Browse Source

Add entrypoint to pyproject

Colin Powell 3 tuần trước cách đây
mục cha
commit
cf89e18095
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      pyproject.toml

+ 3 - 0
pyproject.toml

@@ -12,6 +12,9 @@ dependencies = [
     "musicbrainzngs (>=0.7.1,<0.8.0)"
 ]
 
+[project.entry-points."mopidy.ext"]
+smartplaylists = "mopidy_smartplaylists:Extension"
+
 [tool.poetry]
 
 [tool.poetry.group.dev.dependencies]