Skip to content
Snippets Groups Projects
Commit 916339b8 authored by David Verelst's avatar David Verelst
Browse files

partly revert a80534f2: do not auto-recreate README (rst) during install

to avoid auto-version determining scheme finding dirty repo state
parent d631cfa0
No related branches found
No related tags found
No related merge requests found
......@@ -15,9 +15,6 @@ from setuptools import setup
try:
from pypandoc import convert_file
read_md = lambda f: convert_file(f, 'rst', format='md')
# auto-create RST version of README
with open('README', 'w') as f:
f.write(read_md('README.md'))
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment