question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use pipenv + developing?

See original GitHub issue

My typical workflow involves installing my package with pip’s editable mode, i.e.

/path/to/my/project$ pip install -e .

Which is how I get my dependencies - from my setup.py install_requires section. Mainly because I have console scripts setup.

Is this orthogonal to pipenv, or is there any (planned) support for this type of workflow?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
waynewcommented, Feb 6, 2017

Ah-hah! I figured out how to do what I was expecting:

pipenv install $(pip freeze | grep -v git)

You’d have to replace git with whatever VCS you’re using for your editable packages, but I guess this command probably does a better way of explaining the feature that I was expecting to be available.

Presumably from there there’s a nice way to gather the requirements from the Pipfile into setup.py? Or is that something in the works by the distutils team?

1reaction
kennethreitzcommented, Feb 4, 2017

currently you would do the following:

$ pipenv shell
$ pip -e . 
Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipenv: A Guide to the New Python Packaging Tool
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good...
Read more >
Basic Usage of Pipenv - Read the Docs
--dev — Install both develop and default packages from Pipfile . --system — Use the system pip command rather than the one from...
Read more >
How to use pipenv to create virtual environments
This page explains how to use pipenv to create virtual environments with your GPU Instance.
Read more >
Setting up a Python development environment with pipenv
Put the requirements.txt file in your project directory · Run pipenv lock · Run pipenv install --ignore-pipfile - this will install all packages ......
Read more >
Why Use Pipenv to Create a Python Environment?
Pipenv is an effective dependency manager for Python projects. It sets up and manages virtual environment dependencies in both development ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found