diff --git a/scripts/pypi/build_pypi_package.py b/scripts/pypi/build_pypi_package.py index ef2e341d991..6e5327ba57c 100644 --- a/scripts/pypi/build_pypi_package.py +++ b/scripts/pypi/build_pypi_package.py @@ -285,6 +285,7 @@ def build_pypi_package( dependencies = [ line.strip() for line in (pyre_directory / "requirements.txt").read_text().split("\n") + if len(line) > 0 ] with tempfile.TemporaryDirectory() as build_root: build_path = Path(build_root) diff --git a/scripts/pypi/setup.py b/scripts/pypi/setup.py index 3880fef7fea..88ca8a5f8fc 100644 --- a/scripts/pypi/setup.py +++ b/scripts/pypi/setup.py @@ -149,7 +149,7 @@ def main() -> None: package_name="{PACKAGE_NAME}", package_version="{PACKAGE_VERSION}", module_name="{MODULE_NAME}", - runtime_dependencies=json.loads("""{RUNTIME_DEPENDENCIES}"""), + runtime_dependencies=json.loads(r"""{RUNTIME_DEPENDENCIES}"""), long_description=long_description, )