I have a program that uses dateutilfrom a package index. I would like setup.py to check its presence and try to get it using easy_installif it is not there.
The documentation fordistutils , apparently, indicates that this can be done using the keyword requiresin setup(), but when I try, it installs the system dateutilwithout warning or installing the necessary package.
The only thing I could find on google was in this blog post about the same issue , which also had no response.
Am I using it distutilsincorrectly? Do I need to subclass distutils.command.installand do the check / install myself?
source
share