Skip to content

Forcing order of installation #3475

@themanifold

Description

@themanifold

Hello,

I realise that this issue might be similar to #3299 but I think it's different enough to talk about.

At the moment, I have a setup.py that contains something that looks like:

# ...typical setuptool import...
setup(
    name='somemod',
    dependency_links=['svn+svn://some.svn.path#egg=somemod'],
    install_requires=['somemod'],
)       

If I now try and install somemod with pip:
pip install . -vvv --process-dependency-links

I see that pip shows something like:

Collecting somemod
    2 location(s) to search for versions of somemod:
    * https://pypi.python.org/simple/somemod/
    * svn+svn://some.svn.path#egg=somemod

The question is this:

Setting aside opinions on dependency_links, is it possible to set the order in which pip searches the locations? At the moment, it appears that it always searches pypi.python.org first. I would like it to search the svn path first (for security reasons).

Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions