mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Move project_urls
to setup.cfg
(#65129)
This commit is contained in:
parent
444a681729
commit
44572ff354
@ -6,6 +6,13 @@ platforms = any
|
|||||||
description = Open-source home automation platform running on Python 3.
|
description = Open-source home automation platform running on Python 3.
|
||||||
long_description = file: README.rst
|
long_description = file: README.rst
|
||||||
keywords = home, automation
|
keywords = home, automation
|
||||||
|
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 =
|
classifier =
|
||||||
Development Status :: 4 - Beta
|
Development Status :: 4 - Beta
|
||||||
Intended Audience :: End Users/Desktop
|
Intended Audience :: End Users/Desktop
|
||||||
|
21
setup.py
21
setup.py
@ -4,38 +4,17 @@ from datetime import datetime as dt
|
|||||||
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
import homeassistant.const as hass_const
|
|
||||||
|
|
||||||
PROJECT_NAME = "Home Assistant"
|
PROJECT_NAME = "Home Assistant"
|
||||||
PROJECT_PACKAGE_NAME = "homeassistant"
|
PROJECT_PACKAGE_NAME = "homeassistant"
|
||||||
PROJECT_LICENSE = "Apache License 2.0"
|
PROJECT_LICENSE = "Apache License 2.0"
|
||||||
PROJECT_AUTHOR = "The Home Assistant Authors"
|
PROJECT_AUTHOR = "The Home Assistant Authors"
|
||||||
PROJECT_COPYRIGHT = f" 2013-{dt.now().year}, {PROJECT_AUTHOR}"
|
PROJECT_COPYRIGHT = f" 2013-{dt.now().year}, {PROJECT_AUTHOR}"
|
||||||
PROJECT_URL = "https://www.home-assistant.io/"
|
|
||||||
PROJECT_EMAIL = "hello@home-assistant.io"
|
PROJECT_EMAIL = "hello@home-assistant.io"
|
||||||
|
|
||||||
PROJECT_GITHUB_USERNAME = "home-assistant"
|
|
||||||
PROJECT_GITHUB_REPOSITORY = "core"
|
|
||||||
|
|
||||||
PYPI_URL = f"https://pypi.python.org/pypi/{PROJECT_PACKAGE_NAME}"
|
|
||||||
GITHUB_PATH = f"{PROJECT_GITHUB_USERNAME}/{PROJECT_GITHUB_REPOSITORY}"
|
|
||||||
GITHUB_URL = f"https://github.com/{GITHUB_PATH}"
|
|
||||||
|
|
||||||
DOWNLOAD_URL = f"{GITHUB_URL}/archive/{hass_const.__version__}.zip"
|
|
||||||
PROJECT_URLS = {
|
|
||||||
"Bug Reports": f"{GITHUB_URL}/issues",
|
|
||||||
"Dev Docs": "https://developers.home-assistant.io/",
|
|
||||||
"Discord": "https://discordapp.com/invite/c5DvZ4e",
|
|
||||||
"Forum": "https://community.home-assistant.io/",
|
|
||||||
}
|
|
||||||
|
|
||||||
PACKAGES = find_packages(exclude=["tests", "tests.*"])
|
PACKAGES = find_packages(exclude=["tests", "tests.*"])
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=PROJECT_PACKAGE_NAME,
|
name=PROJECT_PACKAGE_NAME,
|
||||||
url=PROJECT_URL,
|
|
||||||
download_url=DOWNLOAD_URL,
|
|
||||||
project_urls=PROJECT_URLS,
|
|
||||||
author=PROJECT_AUTHOR,
|
author=PROJECT_AUTHOR,
|
||||||
author_email=PROJECT_EMAIL,
|
author_email=PROJECT_EMAIL,
|
||||||
packages=PACKAGES,
|
packages=PACKAGES,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user