Cleanup after setup.py removal (#67036)

pull/67041/head
Marc Mueller 2022-02-22 14:32:55 +01:00 committed by GitHub
parent b57a7ce6a3
commit 8eb7507482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -128,7 +128,7 @@ requirements: &requirements
- .github/workflows/*
- homeassistant/package_constraints.txt
- requirements*.txt
- setup.py
- setup.cfg
any:
- *base_platforms

View File

@ -44,7 +44,7 @@ jobs:
echo "GRPC_PYTHON_BUILD_WITH_CYTHON=true"
echo "GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=true"
# GRPC on armv7 needs -lexecinfo (issue #56669) since home assistant installs
# execinfo-dev when building wheels. The setup.py does not have an option for
# execinfo-dev when building wheels. The setuptools build setup does not have an option for
# adding a single LDFLAG so copy all relevant linux flags here (as of 1.43.0)
echo "GRPC_PYTHON_LDFLAGS=-lpthread -Wl,-wrap,memcpy -static-libgcc -lexecinfo"
) > .env_file

View File

@ -4,7 +4,7 @@
# https://github.com/blog/2392-introducing-code-owners
# Home Assistant Core
setup.py @home-assistant/core
setup.cfg @home-assistant/core
homeassistant/*.py @home-assistant/core
homeassistant/helpers/* @home-assistant/core
homeassistant/util/* @home-assistant/core

View File

@ -168,7 +168,7 @@ def explore_module(package, explore_children):
def core_requirements():
"""Gather core requirements out of setup.py."""
"""Gather core requirements out of setup.cfg."""
parser = configparser.ConfigParser()
parser.read("setup.cfg")
return parser["options"]["install_requires"].strip().split("\n")

View File

@ -10,7 +10,7 @@ BASE = """
# https://github.com/blog/2392-introducing-code-owners
# Home Assistant Core
setup.py @home-assistant/core
setup.cfg @home-assistant/core
homeassistant/*.py @home-assistant/core
homeassistant/helpers/* @home-assistant/core
homeassistant/util/* @home-assistant/core