I have a python project where I am using the maskrcnn-benchmark
project from Facebook Research. The problem is that the setup
file for the facebook project depends on pytorch
i.e. the setup file has an import line like:
import torch
So, I need to have pytorch
pre-installed and this is causing me some problems. For me, the cleanest solution would be if I could prebuild the maskrcnn-benchmark
project as a wheel
with all its dependencies like pytorch
and then add this wheel as a requirement in my setup.py
file.
However, I could not find an easy way to do so. Is there someway to adsd a wheel file as an install_requires
step in the setup file of a python project.