I am working on a setup.py file for a Python package. I want to include the package "rdkit" among the "install_requires" dependencies of my package. However, that does not work, as rdkit cannot be directly pip-installed. My preferred method in this case is to use conda (https://anaconda.org/rdkit/rdkit).
Is there a way to automate the installation (or upgrade) if required of a package using conda in a setup.py file, similarly to what install_requires does for pip-installable dependencies?
Thank you very much for your help
setup(
...
install_requires=[
'numpy >= 1.8.0',
'scipy >= 1.6.1',
],
)