egh / zotxt

zotxt: a Zotero extension for text
http://gitlab.com/egh/zotxt
GNU General Public License v3.0
326 stars 16 forks source link

setup.py FileNotFoundError #3

Closed mx-psi closed 5 years ago

mx-psi commented 6 years ago

When trying to install pandoc-zotxt from pip (Python 2 or 3) I get the error:

Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-hfqj1v_j/pandoc-zotxt/setup.py", line 10, in <module>
    with open(path.join(here, '..', 'README.rst'), encoding='utf-8') as f:
  File "/usr/lib/python3.5/codecs.py", line 895, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-hfqj1v_j/pandoc-zotxt/../README.rst'

because there is no README.srt file.

It can be correctly installed from source by having a README.srt file on the parent directory.

pmwisse commented 5 years ago

I get the same error...

egh commented 5 years ago

I believe this should be fixed with https://pypi.org/project/pandoc-zotxt/5.0.3/. Sorry for the delay!