I have one custom library/package (say my_utils
) which has some library dependencies such as pandas
, numpy
, boto
, etc. I have created wheel
(my_utils.whl
) of the same but it doesn't include the dependencies I have mentioned above. So when I install my_utils.whl
, it'll download dependencies online.
My requirement is to install my_utils.whl
file on a server which doesn't have an internet connection. So I want to package all the dependencies along with my_utils.whl
to create final_my_utils.whl
.
On the server, where I want to upload this wheel file, has GUI and can install only wheel files using pip3 install final_my_utils.whl
Is there any way I can achieve this?
EDIT: Appreciate all the answers. But as I mentioned, the server on which I want to install this package has only GUI and I cannot run any commands. Internally, it'll run pip3 install some_wheel.whl
file. Hence I want single wheel file packaging all dependencies.