Skip to content

pip install -e does not install console scripts #11067

@alexreg

Description

@alexreg

Description

No console scripts are installed when using editable mode for pip install.

Expected behavior

Console scripts should be installed, like in non-editable mode.

pip version

22.0.4

Python version

3.9.12

OS

macOS 12.3.1

How to Reproduce

  1. Clone Git repo https://github.com/alexreg/ycomp.
  2. Run pip install -e . from within the repo.
  3. Observe that console scripts are not installed, unlike with pip install ..

Output

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Obtaining file:///Users/alex/Software/ycomp
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy~=1.21 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (1.22.3)
Requirement already satisfied: requests~=2.26 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (2.27.1)
Requirement already satisfied: typer~=0.4 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (0.4.1)
Requirement already satisfied: more-itertools~=8.10 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (8.12.0)
Requirement already satisfied: cssselect~=1.1 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (1.1.0)
Requirement already satisfied: lxml~=4.6 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (4.8.0)
Requirement already satisfied: pandas~=1.4 in /opt/homebrew/lib/python3.9/site-packages (from ycomp==0.1.0) (1.4.2)
Requirement already satisfied: python-dateutil>=2.8.1 in /opt/homebrew/lib/python3.9/site-packages (from pandas~=1.4->ycomp==0.1.0) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/lib/python3.9/site-packages (from pandas~=1.4->ycomp==0.1.0) (2022.1)
Requirement already satisfied: charset-normalizer~=2.0.0 in /opt/homebrew/lib/python3.9/site-packages (from requests~=2.26->ycomp==0.1.0) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.9/site-packages (from requests~=2.26->ycomp==0.1.0) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.9/site-packages (from requests~=2.26->ycomp==0.1.0) (1.26.9)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.9/site-packages (from requests~=2.26->ycomp==0.1.0) (2021.10.8)
Requirement already satisfied: click<9.0.0,>=7.1.1 in /opt/homebrew/lib/python3.9/site-packages (from typer~=0.4->ycomp==0.1.0) (8.1.2)
Requirement already satisfied: six>=1.5 in /opt/homebrew/lib/python3.9/site-packages (from python-dateutil>=2.8.1->pandas~=1.4->ycomp==0.1.0) (1.16.0)
Installing collected packages: ycomp
  Attempting uninstall: ycomp
    Found existing installation: ycomp 0.1.0
    Uninstalling ycomp-0.1.0:
      Successfully uninstalled ycomp-0.1.0
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  Running setup.py develop for ycomp
Successfully installed ycomp-0.1.0


### Code of Conduct

- [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: setuptoolsRelated to setuptoolsresolution: no actionWhen the resolution is to not do anythingtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions