Skip to content

dependencies listed in both setup_requires and install_requires install to temporary .egg dir #391

Closed

Description

Originally reported by: james_salter (Bitbucket: james_salter, GitHub: Unknown)


Found on setuptools 16.0, python 2.7.9, windows 8.

Test script:

from setuptools import setup

package = "football-data"

setup(
    setup_requires=[package],
    install_requires=[package],
    name="test_setup_requires"
)

After running this script from c:\dev, my c:\python27\lib\site-packages\easy-install.pth contains:

c:/dev/.eggs/football_data-0.1.2-py2.7.egg

i.e. the package has been installed with its location in the temporary .eggs directory used to fulfil the install_requires directive.

This doesn't happen if the setup_requires key is omitted - the package is then installed to site-packages as expected. And it isn't installed at all if install_requires is omitted, as expected.


Activity

  1. ghost added on Mar 29, 2016
  2. added a commit that references this issue on Jan 6, 2017
  3. added a commit that references this issue on Jan 6, 2017
  4. jaraco commented on Oct 22, 2021

    @jaraco
    Member

    This issue is obsolete by the deprecation of setup_requires (#2823) and introduction of PEP 517 isolated builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions