Skip to content

Do not run egg_info to each package in requirements list before installing the previous packages #25

@vbabiy

Description

@vbabiy

There are tons of packages using setup.py wrongly, and if we have a requirements file like:

# requirements.txt

numpy
scipy

What pip does is to download both, run python setup.py egg_info to numpy, and then python setup.py egg_info to scipy.

The problem is that scipy's setup.py tries to import numpy, which breaks the installation, because there is no numpy installed yet.

I would suggest to download each package and then instead of running egg_info, running install, but I am not seeing the drawbacks now.

Could you please give suggestions here?

PS.: This issue is a split of <<issue 178>> - Non-alphabetical installation of requirements.


Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions