Skip to content

Ability to do pip editable install on read-only filesystem #3930

@cancan101

Description

@cancan101

Repost from SO.

Make it possible to do an editable pip install from a directory located on read-only filesystem.

Right now setup tools is trying to write an egg file into the source directory:

$ pip install -e /tf/stuff/
Obtaining file:///tf/stuff
    Complete output from command python setup.py egg_info:
    running egg_info
    writing requirements to src/stuff.egg-info/requires.txt
    error: [Errno 30] Read-only file system: 'src/stuff.egg-info/requires.txt'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tf/stuff/

The docs say:

For local projects, the "SomeProject.egg-info" directory is created relative to the project path. This is one advantage over just using setup.py develop, which creates the "egg-info" directly relative the current working directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions