Fix handling of requirements in setup.py