1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Piotr Ożarowski <[email protected]>
Date: Wed, 16 Jan 2019 10:34:07 0100
Origin: https://lists.debian.org/debian-python/2019/01/msg00060.html
Description: Do not use pkg_resources to avoid build failure
kg_resources.DistributionNotFound: The 'easydev' distribution was not found and is required by the application
--- a/easydev/__init__.py
b/easydev/__init__.py
@@ -20,15 20,6 @@ from __future__ import print_function
__version__ = "0.9.36"
-try:
- import pkg_resources
-except ImportError as err:
- print(err)
- print("version set to {} manually.".format(__version__))
- version = __version__
-else:
- version = pkg_resources.require("easydev")[0].version
- __version__ = version
from . import browser
from .browser import browse as onweb
|