Fix Python – “pip install –editable ./” vs “python setup.py develop”
Is there any significant difference between
pip install -e /path/to/mypackage
and the setuptools variant?
python /path/to/mypackage/setup.py develop
….
Is there any significant difference between
pip install -e /path/to/mypackage
and the setuptools variant?
python /path/to/mypackage/setup.py develop
….
I’m trying to fix up one of my virtualenvs – I’d like to reset all of the installed libraries back to the ones that match production.
Is there a quick and easy way to do this with pip?
….
How do I import files in Python? I want to import:
a file (e.g. file.py)
a folder
a file dynamically at runtime, based on user input
one specific part of a file (e.g. a single function)
….
What is setup.py and how can it be configured or used?
….
What is __init__.py for in a Python source directory?
….