mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Use new project metadata format [PEP 621] (#72422)
This commit is contained in:
parent
38ad1ef233
commit
d0008683be
@ -1,7 +1,46 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools~=60.5", "wheel~=0.37.1"]
|
requires = ["setuptools~=62.3", "wheel~=0.37.1"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "homeassistant"
|
||||||
|
license = {text = "Apache-2.0"}
|
||||||
|
description = "Open-source home automation platform running on Python 3."
|
||||||
|
readme = "README.rst"
|
||||||
|
authors = [
|
||||||
|
{name = "The Home Assistant Authors", email = "hello@home-assistant.io"}
|
||||||
|
]
|
||||||
|
keywords = ["home", "automation"]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Intended Audience :: End Users/Desktop",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Topic :: Home Automation",
|
||||||
|
]
|
||||||
|
dynamic = ["version", "requires-python", "dependencies"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Source Code" = "https://github.com/home-assistant/core"
|
||||||
|
"Bug Reports" = "https://github.com/home-assistant/core/issues"
|
||||||
|
"Docs: Dev" = "https://developers.home-assistant.io/"
|
||||||
|
"Discord" = "https://www.home-assistant.io/join-chat/"
|
||||||
|
"Forum" = "https://community.home-assistant.io/"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
hass = "homeassistant.__main__:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
platforms = ["any"]
|
||||||
|
zip-safe = false
|
||||||
|
include-package-data = true
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
include = ["homeassistant*"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
target-version = ["py39", "py310"]
|
target-version = ["py39", "py310"]
|
||||||
exclude = 'generated'
|
exclude = 'generated'
|
||||||
|
36
setup.cfg
36
setup.cfg
@ -1,34 +1,8 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = homeassistant
|
version = 2022.6.0.dev0
|
||||||
version = 2022.6.0.dev0
|
|
||||||
author = The Home Assistant Authors
|
|
||||||
author_email = hello@home-assistant.io
|
|
||||||
license = Apache-2.0
|
|
||||||
platforms = any
|
|
||||||
description = Open-source home automation platform running on Python 3.
|
|
||||||
long_description = file: README.rst
|
|
||||||
long_description_content_type = text/x-rst
|
|
||||||
keywords = home, automation
|
|
||||||
url = https://www.home-assistant.io/
|
url = https://www.home-assistant.io/
|
||||||
project_urls =
|
|
||||||
Source Code = https://github.com/home-assistant/core
|
|
||||||
Bug Reports = https://github.com/home-assistant/core/issues
|
|
||||||
Docs: Dev = https://developers.home-assistant.io/
|
|
||||||
Discord = https://discordapp.com/invite/c5DvZ4e
|
|
||||||
Forum = https://community.home-assistant.io/
|
|
||||||
classifier =
|
|
||||||
Development Status :: 4 - Beta
|
|
||||||
Intended Audience :: End Users/Desktop
|
|
||||||
Intended Audience :: Developers
|
|
||||||
License :: OSI Approved :: Apache Software License
|
|
||||||
Operating System :: OS Independent
|
|
||||||
Programming Language :: Python :: 3.9
|
|
||||||
Topic :: Home Automation
|
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = find:
|
|
||||||
zip_safe = False
|
|
||||||
include_package_data = True
|
|
||||||
python_requires = >=3.9.0
|
python_requires = >=3.9.0
|
||||||
install_requires =
|
install_requires =
|
||||||
aiohttp==3.8.1
|
aiohttp==3.8.1
|
||||||
@ -57,14 +31,6 @@ install_requires =
|
|||||||
voluptuous-serialize==2.5.0
|
voluptuous-serialize==2.5.0
|
||||||
yarl==1.7.2
|
yarl==1.7.2
|
||||||
|
|
||||||
[options.packages.find]
|
|
||||||
include =
|
|
||||||
homeassistant*
|
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
hass = homeassistant.__main__:main
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
|
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
|
||||||
max-complexity = 25
|
max-complexity = 25
|
||||||
|
Loading…
x
Reference in New Issue
Block a user