When I git clone the repo and pip install -e . , the setup can't work correct.
RuixiangS opened this issue · comments
lumir commented
def read_description(file_path="README.md"):
import os
import re
# def _encode_image(m):
# assert len(m.groups()) == 3
# pre, src, post = m.groups()
# src = src.rstrip().lstrip()
# remote_src = os.path.join(image_root, os.path.relpath(src))
# return f'{pre}{remote_src}{post}'
desc = open(file_path, encoding="utf-8").read()
# remove QRCode
desc = "\n".join([line for line in desc.splitlines() if line.find("QRcode") < 0])
# substitute html image
# desc = re.sub(r'(<img\s+src\s*=\s*\")(./fig/[^"]+)(\")', _encode_image, desc)
# substitute markdown image
# desc = re.sub(r"(\!\[.*\]\()(./fig/.+)(\))", _encode_image, desc)
return desc
I need to comment these code to ensure that i can install hyperTS.That's all,thanks
Xiaojing Zhang commented
Sorry, where is this part of the code?
lumir commented
Sorry, where is this part of the code?
In the setup.py, Line number: 50, def read_description():
Xiaojing Zhang commented
Sorry, where is this part of the code?
In the setup.py, Line number: 50, def read_description():
This issue has been fixed.
You can try again.
lumir commented
It works out.