Poetry: Install of a package from URL

Created on 3 Dec 2018  路  4Comments  路  Source: python-poetry/poetry

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.

Issue


Sometimes packages easily avaliable only by url, for example binaries for Windows. It would be nice to be able to do something like:

poetry add pycurl --url https://download.lfd.uci.edu/pythonlibs/h2ufg7oq/pycurl-7.43.1-cp37-cp37m-win_amd64.whl

For example, pipenv supports it :)

Most helpful comment

This is crucial for installing packages such as PyTorch: https://pytorch.org/ which are sometimes only distributed through a .whl file due to complicated dependencies like CUDA.

All 4 comments

Hi @germn

I opened a PR to implement this feature, maybe you could take a look at it? I am looking for feedback 馃槃

This is crucial for installing packages such as PyTorch: https://pytorch.org/ which are sometimes only distributed through a .whl file due to complicated dependencies like CUDA.

I would also really appreciate this. I often have to make custom wheels for packages I'm using, which I install via web (to avoid bloating my git repos with big ugly wheel deltas). Just switched to poetry for one of my projects and surprised that this wasn't possible.

Added in #1260

Was this page helpful?
0 / 5 - 0 ratings