Skip to content
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

Support for editable installs #3

Closed
kennethreitz opened this issue Jan 20, 2017 · 13 comments
Closed

Support for editable installs #3

kennethreitz opened this issue Jan 20, 2017 · 13 comments

Comments

@kennethreitz
Copy link
Contributor

Currently, we cannot convert a pip install -e .... to Pipfile's format.

@kennethreitz
Copy link
Contributor Author

Done!

@abdulhaq-e
Copy link

Is there a way to use it with pipenv install?

@winni2k
Copy link

winni2k commented Sep 1, 2017

@abdulhaq-e: It appears this feature has regressed.
See https://github.com/kennethreitz/pipenv/issues/313

@kennethreitz kennethreitz reopened this Sep 1, 2017
@kennethreitz
Copy link
Contributor Author

working on master

@ericfrederich
Copy link

What about installing the project you're working on as editable, like pip install --editable . would do? Is this possible?

@winni2k
Copy link

winni2k commented Sep 6, 2017

python setup.py develop appears to work for me?

@ericfrederich
Copy link

@wkretzsch, would you run that as pipenv run python setup.py develop?

@winni2k
Copy link

winni2k commented Sep 7, 2017

Right. I run it from inside a pipenv shell

pipenv shell 
# wait for virtualenv to load
python setup.py develop

@winni2k
Copy link

winni2k commented Sep 7, 2017

I think the develop command is only supported by setuptools.

Here is the head of my setup.py

#!/usr/bin/env python
from setuptools import setup, find_packages

setup (
# ...

@exhuma
Copy link

exhuma commented Jan 9, 2018

What about adding a -e/--editable flag to pipenv install? The flag seems to be currently free. At least in version 8.3.2

@techalchemy
Copy link
Member

@exhuma 9.0.1 has been out for some time and editable installs have been supported via -e for some time

@immunochomik
Copy link

immunochomik commented Feb 22, 2018

I have version 9.1.0 and -e option is not there, it does not appear in pipenv install -h and it does not work. So @techalchemy I do not understand is it there or not ?

@techalchemy
Copy link
Member

It is not an argument to the command line any more than the name of a package would be considered an argument, which is why it doesn’t appear in help. It is passed as a part of a requirement, not as an option to pipenv. So yes, as stated, it remains supported, please attempt to use it and file an issue if you find a problem with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants