Kungreye
Kungreye

Reputation: 108

How to change the [[source]] for the Pipfile for better usage of pipenv?

The default [[source]] for Pipfile is

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

Now I want to change it to:

url = "https://pypi.doubanio.com/simple/"

Do I need to change the name at the same time?

If yes, then what is the name rule (or is it okay for me to go simply without this "name")?

Upvotes: 6

Views: 11416

Answers (1)

paulduf
paulduf

Reputation: 311

Check this page, section Specifying Indexes.

The name is some field you define arbitrary and use with the index key to specify where a package should come from.

Upvotes: 2

Related Questions