sumanthratna / viewmask

A Python package and CLI to visualize image segmentation masks.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install packages using non-pip method in read the docs

pinggao187 opened this issue · comments

I have some troubles when using read the docs, please help me,
I want to install a package, but I can't use pip to install it. In the local python environment, I solved it by downloading the package and adding it to the pythonpath. How to install packages using non-pip method in read the docs?

Hey @pinggao187! I think I would either fork or push a PR to the package to add a setup.py. If you fork, you can upload the package to PyPI and then pip install it. If you don't want to push to PyPI, then you can add git+https://github.com/pinggao187/my-package@master#egg=my-package to requirements.txt (but I would recommend pinning to a specific branch/tag instead of master).

I hope this helped!