Install-app of a custom app that requires erpnext fails in develop

Resolved in Create new app failed with error Command "python setup.py egg_info" failed with error code 1

To resolve this, open the setup.py file and correct

install_requires = f.read().strip().split('
')

to

install_requires = f.read().strip().split('\n')