File: pkg_resources.patch

package info (click to toggle)
mopidy-scrobbler 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: python: 247; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/mopidy_scrobbler/__init__.py
+++ b/mopidy_scrobbler/__init__.py
@@ -1,10 +1,9 @@
 import pathlib
 
-import pkg_resources
 
 from mopidy import config, ext
 
-__version__ = pkg_resources.get_distribution("Mopidy-Scrobbler").version
+__version__ = '2.0.1'
 
 
 class Extension(ext.Extension):
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,7 +27,6 @@
 install_requires = 
 	Mopidy >= 3.0.0
 	Pykka >= 2.0.1
-	setuptools
 	pylast >= 2.2.0
 
 [options.extras_require]