Skip to content
Snippets Groups Projects
Commit b22ce2ce authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Skip -r requirements

parent 506dfc1b
No related branches found
No related tags found
No related merge requests found
Pipeline #46783 passed
......@@ -6,7 +6,8 @@ from setuptools import setup
def get_requirements(filename):
with open(filename, 'r') as f:
return [str(r) for r in pkg_resources.parse_requirements(f)]
return [str(r) for r in pkg_resources.parse_requirements(
line for line in f if not line.startswith('-r'))]
setup_requires = ['setuptools >= 30.3.0']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment