Pipenv: Support for editable installs

Created on 21 Jan 2017  路  13Comments  路  Source: pypa/pipenv

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

Most helpful comment

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

All 13 comments

Done!

Is there a way to use it with pipenv install?

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

working on master

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

python setup.py develop appears to work for me?

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

Right. I run it from inside a pipenv shell

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

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 (

...

```

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

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

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 ?

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鈥檛 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.

Was this page helpful?
0 / 5 - 0 ratings