Hello,

I work in a place with an offline network, so we've got a mirror of Pypi 
which for the most part works very well. We all use a pip.conf file as 
follows:

    [global]
    index = http://debpkg:8080/pypi
    index-url = http://debpkg:8080/pypi
    trusted-host = debpkg
    disable-pip-version-check = True

We can successfully install most packages, and pip keeps going back to our 
server debpkg for dependencies. For example, Flask installs fine, and it 
has the following dependencies defined:

    install_requires=[
        'Werkzeug>=0.7',
        'Jinja2>=2.4',
        'itsdangerous>=0.21',
        'click>=2.0',
    ]

However, there are some other packages that feature test dependencies, and 
these unfortunately still look for the dependencies on pypi.python.org. 
E.g. flask-mongoengine has the following in setup.con:

    test_requirements = ['coverage', 'nose', 'rednose']
    ...
    tests_require=test_requirements,
    setup_requires=test_requirements,

This results on the following error when we attempt "pip install 
flask-mongoengine":

    Download error on https://pypi.python.org/simple/rednose/: [Errno -2] 
Name or service not known -- Some packages may not be found!
    Couldn't find index page for 'rednose' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: [Errno -2] Name or 
service not known -- Some packages may not be found!
    No local packages or download links found for rednose

Is there anything I need to add to pip.conf to get this to work properly? 
Or is this a limitation of pip that would need an enhancement?

Cheers.

-- 
You received this message because you are subscribed to the Google Groups 
"virtualenv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python-virtualenv+unsubscr...@googlegroups.com.
To post to this group, send email to python-virtualenv@googlegroups.com.
Visit this group at https://groups.google.com/group/python-virtualenv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to