src_prepare-overlay/dev-python/m2r2/files/quick_workaround_to_distributionnotfound.patch
Alfred Wingate e918eb027d
dev-python/m2r2: add for matrix-nio
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2021-05-22 21:58:31 +03:00

21 lines
499 B
Diff

diff --git a/setup.py b/setup.py
index f80b653..4a604bb 100644
--- a/setup.py
+++ b/setup.py
@@ -10,13 +10,9 @@ except ImportError:
from distutils.core import setup
readme_file = path.join(path.dirname(path.abspath(__file__)), "README.md")
-try:
- from m2r2 import parse_from_file
- readme = parse_from_file(readme_file)
-except ImportError:
- with open(readme_file) as f:
- readme = f.read()
+with open(readme_file) as f:
+ readme = f.read()
__version__ = "0.2.7"