diff --git a/setup.py b/setup.py index 7c00ef18..d9248638 100644 --- a/setup.py +++ b/setup.py @@ -21,13 +21,26 @@ README = (HERE / "README.md").read_text() with open(HERE / "requirements/base.txt") as f: - requirements = f.read().splitlines() + requirements = [ + line + for line in f.read().splitlines() + if not line.startswith(("#", "-")) and len(line) + ] with open(HERE / "requirements/development.txt") as f: - requirements_dev = f.read().splitlines() + requirements_dev = [ + line + for line in f.read().splitlines() + if not line.startswith(("#", "-")) and len(line) + ] + with open(HERE / "requirements/documentation.txt") as f: - requirements_docs = f.read().splitlines() + requirements_docs = [ + line + for line in f.read().splitlines() + if not line.startswith(("#", "-")) and len(line) + ] # ############################################################################