I am writing a small cross-platform library which requires the use of specific libraries when installed on a 'win32' os. Does anyone know of a simple way to use setup.py to install a given library only if the platform requires it?
I tried creating a conditional in setup.py using sys.platform.endswith('win32'), but perhaps I missed something.
I'd really appreciate a helping hand.