pypa / pipfile

Other
3.24k stars 145 forks source link

How to specify a second pypi-type repository #77

Closed rkhwaja closed 7 years ago

rkhwaja commented 7 years ago

I have [[source]] url = "https://pypi.python.org/simple"

How do I specify a second source for a private repository?

kennethreitz commented 7 years ago

Excellent question!

pradyunsg commented 7 years ago

Like so:

[[source]]
url = "https://pypi.python.org/simple"

[[source]]
url = "https://pypi.my-company-page.com/simple"

See: https://github.com/toml-lang/toml#array-of-tables

kennethreitz commented 7 years ago

thanks @pradyunsg!