DataCanvasIO / HyperTS

A Full-Pipeline Automated Time Series (AutoTS) Analysis Toolkit.

Home Page:https://hyperts.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I git clone the repo and pip install -e . , the setup can't work correct.

RuixiangS opened this issue · comments

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

Sorry, where is this part of the code?

commented

Sorry, where is this part of the code?

In the setup.py, Line number: 50, def read_description():

Sorry, where is this part of the code?

In the setup.py, Line number: 50, def read_description():

#96 (comment)

This issue has been fixed.
You can try again.

commented

It works out.