New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip doesn't allow installing modules from a sub-directory of a git repository in non-editable mode #3217

Closed
satyenr opened this Issue Oct 29, 2015 · 4 comments

Comments

Projects
None yet
6 participants
@satyenr

satyenr commented Oct 29, 2015

The following works just fine:

user@host ~/test> pip install -e 'git+http://git.mydomain.com/project.git#egg=project-sdk&subdirectory=sdk/python'

But the following doesn't:

user@host ~/test> pip install 'git+http://git.mydomain.com/project.git#egg=project-sdk&subdirectory=sdk/python'
Collecting project from git+http://git.mydomain.com/project.git#egg=project-sdk&subdirectory=sdk/python
Cloning git+http://git.mydomain.com/project.git to /tmp/160806751.tmpdir/pip-build-XR8vJn/project-sdk
remote: Counting objects: 180, done.
remote: Compressing objects: 100% (135/135), done.
remote: Total 180 (delta 46), reused 0 (delta 0)
Receiving objects: 100% (180/180), 52.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (46/46), done.
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 18, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/160806751.tmpdir/pip-build-XR8vJn/project-sdk/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/160806751.tmpdir/pip-build-XR8vJn/project-sdk

The only difference in the commands is that of a -e.

I am using pip 7.1.2.

user@host ~/test> pip --version
pip 7.1.2 from /home/user/test/venv/lib/python2.7/site-packages (python 2.7)
user@host ~/test> 
@sbidoul

This comment has been minimized.

Show comment
Hide comment
@sbidoul

sbidoul Nov 21, 2015

Contributor

I face the same issue.

Contributor

sbidoul commented Nov 21, 2015

I face the same issue.

@linar-jether

This comment has been minimized.

Show comment
Hide comment
@linar-jether

linar-jether Nov 26, 2015

+1 for this issue

linar-jether commented Nov 26, 2015

+1 for this issue

@dolfim

This comment has been minimized.

Show comment
Hide comment
@dolfim

dolfim Feb 3, 2016

+1. same issue.

dolfim commented Feb 3, 2016

+1. same issue.

@lmignon

This comment has been minimized.

Show comment
Hide comment
@lmignon

lmignon Feb 4, 2016

👍 for same issue

lmignon commented Feb 4, 2016

👍 for same issue

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