from setuptools import setup
setup(name='spam', version='0.0.1', extras_require={
    ':sys_platform == "win32"': ['pyreadline'], ':"linux" in sys_platform':
    ['pyxdg']})
Setuptools platform specific dependencies