Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8836525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:30:59+00:00 2026-06-14T09:30:59+00:00

I have in my packages setup.py : from setuptools import setup setup( dependency_links=[‘http://local.mirror’], install_requires=[

  • 0

I have in my packages setup.py:

from setuptools import setup

setup(
    dependency_links=['http://local.mirror'],
    install_requires=[
        'many',
        'different',
        'packages',
    ],
    ...
 )

What seems to happen is that setuptools will load entries from install_requires in reverse order, and it will respect the dependency_links entry for only the last entry in install_requires (it installs things in reverse order).

There’s plenty of discussion about how to add packages that aren’t in PyPI, but I can’t seem to find my way about ensuring that my local entry is used first, or exclusively.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:31:00+00:00Added an answer on June 14, 2026 at 9:31 am

    Placing the following setup.cfg file in the same location as setup.py has addressed this:

    [easy_install]
    allow_hosts = local.mirror
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see many Java packages have api, impl and bundle jars (name-api.jar, name-impl.jar, name-bundle.jar).
I have two nested packages that I am calling via fast_cgi. From the first
I have two packages that install different packages with the same name. They are
I have recently installed all of the X11 packages in the cygwin setup and
I have a standard python package layout like this: setup.py - using setuptools README
I have installed PyQT from this URL: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe I have Python 2.6 installed. My
I was wondering if it's possible to have a java package setup using a
I have a .NET 3.5 Setup Package Project which installs my application successfully. The
I have updated my packages using Android SDK Manager and clicked on Help >
I have installed several Emacs packages by M-x install-package . The starter-kit package hide

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.