File: importlib_metadata.patch

package info (click to toggle)
python-miio 0.5.12-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,912 kB
  • sloc: python: 23,424; makefile: 9
file content (22 lines) | stat: -rw-r--r-- 634 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
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,7 +39,6 @@
 netifaces = { version = "^0", optional = true }
 android_backup = { version = "^0", optional = true }
 micloud = { version = "*", optional = true }
-importlib_metadata = { version = "^1", markers = "python_version <= '3.7'" }
 croniter = ">=1"
 defusedxml = "^0"
 
--- a/setup.py
+++ b/setup.py
@@ -63,8 +63,7 @@
  'zeroconf>=0,<1']
 
 extras_require = \
-{':python_version <= "3.7"': ['importlib_metadata>=1,<2'],
- 'docs': ['sphinx>=4.2',
+{'docs': ['sphinx>=4.2',
           'sphinx_click',
           'sphinxcontrib-apidoc>=0,<1',
           'sphinx_rtd_theme>=0,<1']}