requirements = parse_requirements('./requirements.txt', session=False)
setup(name='myproject', install_requires=[str(requirement.req) for
    requirement in requirements])
How to include git dependencies in setup.py for pip installation