It is unfortunate that both projects picked a generic name. This makes it almost impossible to correctly specify which one you need to install.
A workaround would be to specify a minimum version; python-daemon
is up to version 1.5.5 at the time of writing, while daemon
only ever released version 1.0, over 3 years ago.
Pin your requirement to 1.5 and newer and setuptools
will go looking for python-daemon
even if daemon
is installed:
setup(
install_requires=['python-daemon >= 1.5']
)
This workaround will fail, of course, the day daemon
releases a 1.5 or newer version.