Skip to content

install from location other than pypi.org #2410

Answered by jugmac00
nschloe asked this question in Q&A
Discussion options

You must be logged in to vote

It is not like I needed that before but it should work like this:

  • create a dedicated requirements.txt file for pyvista only
  • add the index url on the first line, see https://stackoverflow.com/a/2477610/672833
  • add pyvista on the second line
  • in your deps section add one line as following -r requirements.txt

Untested, but this should do.

Alternatively you could use commands_pre to install the single dependency via python -m pip install....

I am not near my laptop so both suggestions are untested.

Please report back whether the one or the other solution worked. If not I'll try find a solution tomorrow.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nschloe
Comment options

Comment options

You must be logged in to vote
1 reply
@nschloe
Comment options

Answer selected by nschloe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants