Skip to content

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

@ghost

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.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions