diff --git a/setup.py b/setup.py index f031401..1c2f38e 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ import io import os -from setuptools import find_packages, setup from typing import Dict, List +from setuptools import find_packages, setup + HERE = os.path.abspath(os.path.dirname(__file__)) @@ -30,6 +31,7 @@ def load_requirements(filename: str) -> List[str]: ) as f: return [line.strip() for line in f if is_requirement(line)] + def is_requirement(line: str) -> bool: return not (line.strip() == "" or line.startswith("#"))