Skip to content

pynsist didn't use pip configurations #181

Open
@liudonghua123

Description

@liudonghua123

I configured the index-url of pip in my %HOME%/pip/pip.conf with the following contents.

[global]
index-url=https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn

And I also checked the configurations.

D:\code\python\pynsist\examples\pyqt5>pip config list
global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple'
install.trusted-host='pypi.tuna.tsinghua.edu.cn'

D:\code\python\pynsist\examples\pyqt5>

But when I run pynsist installer.cfg, it did not download the packages from the index-url I specified. So the download speed was extreme slow.

D:\code\python\pynsist\examples\pyqt5>pynsist installer.cfg
Unpacking Python...
Copying packages into build directory...
Downloading wheel: https://files.pythonhosted.org/packages/a7/22/67cc2bac6ae2cd3a7eabb2a2e91638b94bdc6e0503747e49670ce44bb5b0/PyQt5-5.10.1-5.10.1-cp35.cp36.cp37.cp38-none-win_amd64.whl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions