Description of problem:
mkdocs serve fails with an error about a missing livereload module. AFAICS LiveReload hasn't even been packaged for EPEL/RHEL (it's packaged for Fedora though).
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Workstation release 7.3 (Maipo)
Steps to Reproduce:
1. mkdocs init someproject
2. cd someproject
3. mkdocs serve
Traceback (most recent call last):
File "/usr/bin/mkdocs", line 9, in <module>
load_entry_point('mkdocs==0.14.0', 'console_scripts', 'mkdocs')()
File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mkdocs/cli.py", line 111, in serve_command
File "/usr/lib/python2.7/site-packages/mkdocs/serve.py", line 84, in serve
_livereload(host, port, config, builder, tempdir)
File "/usr/lib/python2.7/site-packages/mkdocs/serve.py", line 16, in _livereload
from livereload import Server
ImportError: No module named livereload
It works... livereload is packaged and a dependency of mkdocs.
mkdocs build works fine
Looking at `rpm -qi mkdocs`, it states "MkDocs is Python powered, this package is built with Python 3." but `/usr/bin/mkdocs` has a shebang on python2...
I need live certifi to have live reload in epel7, for the moment the server options will not work in epel7.
It would perhaps be nice to have it documented in the package itself? As some kind of README.EPEL (equivalent to README.Debian).