src_prepare-overlay/dev-python/m2r2/files/quick_workaround_to_distributionnotfound.patch

21 lines
499 B
Diff
Raw Normal View History

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"