Cleanup after setup.py removal (#67036)
parent
b57a7ce6a3
commit
8eb7507482
|
@ -128,7 +128,7 @@ requirements: &requirements
|
|||
- .github/workflows/*
|
||||
- homeassistant/package_constraints.txt
|
||||
- requirements*.txt
|
||||
- setup.py
|
||||
- setup.cfg
|
||||
|
||||
any:
|
||||
- *base_platforms
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue