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.

`pipenv install` does not detect dependencies in setup.cfg

See original GitHub issue

pipenv, version 11.0.7

I have the following project:

I ran pipenv install at the root.

Now with most projects, pipenv detects requirements.txt. But before pipenv, I was using setup.cfg to define dependencies as it’s less icky than requirements.txt and I can do pip install ..

Expected result

pipenv should have detected the dependencies in setup.cfg install_requires

Actual result

An empty venv and pipfile were created.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Mar 15, 2018
$ pipenv install -e . 
0reactions
internetofjamescommented, Dec 17, 2021

Not sure if this is cause to reopen the ticket, but @kennethreitz 's answer of pipenv install -e . only works for projects with a setup.py file.

I’d love to see support for setup.cfg declared dependencies in the same way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install does not install local module/package from setup.cfg
Either way, pipenv will install both your editable dependency ( my-cli ) and all its required dependencies defined in setup.cfg, setup.py, ...
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
☤ An exception is raised during Locking dependencies…​​ Run pipenv lock --clear and try again. The lock sequence caches results to speed up...
Read more >
pipenv Documentation - Read the Docs
Installing pipenv via Homebrew or Linuxbrew will keep pipenv and all of its dependencies in an isolated virtual envi- ronment so it doesn't...
Read more >
How to Package Python dependencies with PIP setuptools
Setuptools is typically installed with Python downloaded from ... To check a dependency not found in PyPI, prefix the package name and ...
Read more >
Features — PyScaffold 3.3.1 documentation
All configuration can be done in setup.cfg like changing the description, url, ... To avoid package dependency problems it is common to not...
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