yakupadakli / python-unsplash

Python wrapper for the Unsplash API.
MIT License
156 stars 40 forks source link

Pip 10.0 and setup.py #5

Closed g3rd closed 6 years ago

g3rd commented 6 years ago

In setup.py it is using from pip.req import parse_requirements

However, in Pip 10.0 that method has moved.

I added

try:
    from pip._internal.req import parse_requirements
except:
    from pip.req import parse_requirements

to get it to work.

yakupadakli commented 6 years ago

Thanks. I updated.