DepthFlow icon indicating copy to clipboard operation
DepthFlow copied to clipboard

(REQUEST) support conda or pip install

Open WangLiwen1994 opened this issue 10 months ago β€’ 1 comments

Hello, Very nice tool, would it be possible to support conda/pip installation?

WangLiwen1994 avatar Apr 10 '24 08:04 WangLiwen1994

I don't really plan on conda, but there's a PyPI package with all projects already :)

https://pypi.org/project/broken-source

https://brokensrc.dev/get/pypi

PyTorch isn't included in the dependencies, install one version in the venv / add to pyproject.toml at

https://pytorch.org/get-started/locally

(and transformers for the depth anything pipeline)

From there, you can just type depthflow or other projects' names as they are also installed as modules entry point scripts

I haven't tried myself, but you can from DepthFlow.DepthFlow import DepthFlowScene alongside some/most of this file imports of ShaderFlow and-

-there's an example at the bottom of DepthFlow.py on how to do inheritance and writing your own class

lmk if this works!

Wheels are a bit experimental but I've got success so far

Tremeschin avatar Apr 10 '24 15:04 Tremeschin

I'm closing as it's been a while, and a PyPI wheel exists! :)

I'll upload soon a version 0.2.0 with some important fixes of the latest commits, I know it's outdated

Conda is on plansβ„’, I've used miniconda to run some other project and I didn't dislike it πŸ‘πŸ»

Tremeschin avatar May 15 '24 21:05 Tremeschin