I am interested in running a script that is part of a rather large Python package. The package structure looks something like this:
MyApp
|
--setup.py
|
--MyApp
|
--foo
|
--scripts/some-tiny-script.py
some-tiny-script.py
only relies upon a few simple 3rd-party libs and the MyApp package itself.
I would like to only install the dependencies that some-tiny-script
requires without installing everything listed in the install_requires
section of the setup.py
file. This is because it contains many libraries, some of which are very large. I'm ok with identifying the libraries needed by some-tiny-script.py
and installing those with pip, but how do I install MyApp without installing everything listed under install_requires
?