forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Migrate to pyproject.toml (esphome#6737)
- Loading branch information
1 parent
f0ec900
commit f2ef06d
Showing
5 changed files
with
74 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,56 @@ | ||
[build-system] | ||
requires = ["setuptools==69.2.0", "wheel~=0.43.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "esphome" | ||
license = {text = "MIT"} | ||
description = "Make creating custom firmwares for ESP32/ESP8266 super easy." | ||
readme = "README.md" | ||
authors = [ | ||
{name = "The ESPHome Authors", email = "[email protected]"} | ||
] | ||
keywords = ["home", "automation"] | ||
classifiers = [ | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: End Users/Desktop", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Home Automation", | ||
] | ||
requires-python = ">=3.9.0" | ||
|
||
dynamic = ["dependencies", "optional-dependencies", "version"] | ||
|
||
[project.urls] | ||
"Documentation" = "https://esphome.io" | ||
"Source Code" = "https://github.com/esphome/esphome" | ||
"Bug Tracker" = "https://github.com/esphome/issues/issues" | ||
"Feature Request Tracker" = "https://github.com/esphome/feature-requests/issues" | ||
"Discord" = "https://discord.gg/KhAMKrd" | ||
"Forum" = "https://community.home-assistant.io/c/esphome" | ||
"Twitter" = "https://twitter.com/esphome_" | ||
|
||
[project.scripts] | ||
esphome = "esphome.__main__:main" | ||
|
||
[tool.setuptools] | ||
platforms = ["any"] | ||
zip-safe = false | ||
include-package-data = true | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
optional-dependencies.dev = { file = ["requirements_dev.txt"] } | ||
optional-dependencies.test = { file = ["requirements_test.txt"] } | ||
optional-dependencies.displays = { file = ["requirements_optional.txt"] } | ||
version = {attr = "esphome.const.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["esphome*"] | ||
|
||
[tool.black] | ||
target-version = ["py39", "py310"] | ||
exclude = 'generated' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters