Skip to content

Add --global-option to egg_info command too #4383

@fabio-t

Description

@fabio-t
  • Pip version: 9.0.1
  • Python version: 2.7.12
  • Operating system: Ubuntu 16.04

Description:

I maintain a package that has many dependencies, which are also conditional to a specific argument to setup.py.

If I pass this argument to pip, like this:

pip install ./ --global-option="--argument=opt1" -vvv

Then in the very first few lines I see the output:

Running command python setup.py egg_info

And the wrong list of dependencies is fetched (ie, as if I did not pass the argument at all).

If I run in the project directory the following command:

python setup.py egg_info --argument=opt1

Then the correct list of dependencies is added.

Can the specified global options be added to it, like they are for build and install?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions