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")?
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.