pip install -e . equivalent?
See original GitHub issueWe cannot run pip install -e .
because there is no setup.py
. What would be the way to achieve this using poetry?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:124
- Comments:207 (68 by maintainers)
Top Results From Across the Web
poetry analog to `pip install -e .` [closed] - Stack Overflow
I don't think there is really an equivalent, since Poetry installs everything in a virtual environment, and then uses poetry run to execute ......
Read more >pip install - pip documentation v22.3.1
The install command has a --report option that will generate a JSON report of what pip has installed. In combination with the --dry-run...
Read more >Poetry has officially fixed / permanently included pip install -e
So now pip install -e will do the right thing and produce an editable install even if the package itself uses Poetry.
Read more >The difference between ``python setup.py build_ext
So, it seems that pip install -e DIR and python setup.py develop are equivalent in the final results for setting up the develop...
Read more >PIP Install Environment - ActiveState
Pip is the standard package manager for Python. It enables the installation and management of third party packages that provide features and functionality ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don't know how you develop, but I never need pip install -e .. I either upload my packages to PyPI or a private index, or I install from a git repository
Ugh, that is not developing, that is installing a finished package.
These are roughly equivalent, in your src dir:
It’s called “installing a package in development mode”. They are the starting point of beginning development. If you are not familiar with that, then I honestly do not understand how you do development.
I know two ways of doing development without it:
Are you recommending this? (I hope not)
Another use case is when you’re trying to fix something in a library used by your project. From your project’s virtualenv, you run
pip install -e path/to/library
so that every change you make in the library repo is directly picked up in your project where you are testing the results.