I'd like to know if a local path is a pip installable package meaning that I can execute pip install my_path with it. Is there an easy way to do that ?
Hence my_path could be a wheel path, a folder with a setup.py file etc.
I'd like to know if a local path is a pip installable package meaning that I can execute pip install my_path with it. Is there an easy way to do that ?
Hence my_path could be a wheel path, a folder with a setup.py file etc.
Checking the pip docs gives us an idea. pip install accepts, among others, a
Local directory (which must contain a setup.py, or pip will report an error).
So as a minimum, to be able to run pip install . the current directory would need to contain a setup.py file