Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: requirements parsing adapted to newer pip versions (#14)
Every time I tried to install the develop version of the atmos package either via `pip install` or `pipenv install`, I was facing an error most likely related to the issue that was addresed in issue #8. The `req` module has been moved to the `pip._internal.req` submodule, so the try except in `setup.py` seems to solve the issue of importing the `parse_requirements` function. However, some extra changes might have happened on the `pip` side, because apparently, now, the `ParsedRequirement` class has had its `req` attribute renamed to `requirement`, which caused an `AttributeError`. I solved this in my machine via another try and except clause that should handle older and newer pip versions.
- Loading branch information