File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ scalecodec==1.2.11
2424uvicorn
2525bittensor-wallet>=2.1.3
2626bittensor-commit-reveal>=0.1.0
27- git+https://github.com/opentensor/async-substrate-interface.git
27+ git+https://github.com/opentensor/async-substrate-interface.git#egg=async-substrate-interface
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def read_requirements(path):
3131 with pathlib .Path (path ).open () as requirements_txt :
3232 for line in requirements_txt :
3333 if line .startswith ("git+" ):
34- pkg_name = re .search (r"/([^/ ]+)\.git$ " , line .strip ()).group (1 )
34+ pkg_name = re .search (r"egg=([a-zA-Z0-9_- ]+)" , line .strip ()).group (1 )
3535 requirements .append (pkg_name + " @ " + line .strip ())
3636 else :
3737 requirements .append (line .strip ())
You can’t perform that action at this time.
0 commit comments