mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 19:01:51 -04:00
Migrate to pyproject.toml for project configuration.
This commit is contained in:
parent
d8c1eca13a
commit
c661788d3e
4 changed files with 65 additions and 64 deletions
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"version": "0.3.1",
|
||||
"port": 6,
|
||||
"entrypoint": null,
|
||||
"base": "python",
|
||||
"description": null,
|
||||
"org_singleton": null,
|
||||
"org_github": "fmtr",
|
||||
"org_friendly": "Frontmatter AI",
|
||||
"is_client": false,
|
||||
"scripts": [],
|
||||
"services": [],
|
||||
"docs": {
|
||||
"nav": [
|
||||
{
|
||||
"Home": "index.md"
|
||||
},
|
||||
{
|
||||
"Quick Start": "quick-start.md"
|
||||
},
|
||||
{
|
||||
"Control Types": "controls.md"
|
||||
},
|
||||
{
|
||||
"Changelog": "changelog/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"setup": {},
|
||||
"is_pypi": true,
|
||||
"is_dockerhub": false
|
||||
}
|
||||
1
haco/pyproject.toml
Symbolic link
1
haco/pyproject.toml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../pyproject.toml
|
||||
|
|
@ -1,19 +1,69 @@
|
|||
[build-system]
|
||||
requires = ["corio[setup,debug]"]
|
||||
build-backend = "setuptools.build_meta" #
|
||||
requires = ["setuptools>=82", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.corio.metadata]
|
||||
version = "0.3.1"
|
||||
port = 6
|
||||
base = "python"
|
||||
description = "Home Assistant Control Objects"
|
||||
org_github = "fmtr"
|
||||
org_friendly = "Frontmatter AI"
|
||||
is_client = false
|
||||
scripts = []
|
||||
services = []
|
||||
keywords = ["homeassistant", "controls", "python", "tasmota"]
|
||||
is_pypi = true
|
||||
is_dockerhub = false
|
||||
|
||||
[[tool.corio.metadata.docs.nav]]
|
||||
Home = "index.md"
|
||||
|
||||
[[tool.corio.metadata.docs.nav]]
|
||||
"Quick Start" = "quick-start.md"
|
||||
|
||||
[[tool.corio.metadata.docs.nav]]
|
||||
"Control Types" = "controls.md"
|
||||
|
||||
[[tool.corio.metadata.docs.nav]]
|
||||
Changelog = "changelog/"
|
||||
|
||||
[tool.corio.metadata.setup]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["haco*"]
|
||||
namespaces = false
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
haco = ["pyproject.toml"]
|
||||
|
||||
[tool.uv.sources.corio]
|
||||
path = "../corio"
|
||||
editable = true
|
||||
|
||||
[project]
|
||||
name= "haco"
|
||||
dynamic = [
|
||||
"description",
|
||||
"readme",
|
||||
"version",
|
||||
"dependencies",
|
||||
"optional-dependencies",
|
||||
"license",
|
||||
"authors",
|
||||
"keywords",
|
||||
name = "haco"
|
||||
version = "0.3.1"
|
||||
description = "Home Assistant Control Objects"
|
||||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
license-files = ["LICENSE"]
|
||||
keywords = ["homeassistant", "controls", "python", "tasmota"]
|
||||
dependencies = [
|
||||
"corio[version.dev,logging,sets,yaml,debug,caching,api,mqtt]",
|
||||
"psutil",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
corio = { path = "../corio", editable = true }
|
||||
[[project.authors]]
|
||||
name = "Frontmatter AI"
|
||||
email = "innovative.fowler@mask.pro.fmtr.dev"
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
"pytest>=8.0",
|
||||
"pytest-cov>=5.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/fmtr/haco"
|
||||
|
|
|
|||
18
setup.py
18
setup.py
|
|
@ -1,18 +0,0 @@
|
|||
from corio import Setup
|
||||
|
||||
setup = Setup(
|
||||
org=None,
|
||||
dependencies=dict(
|
||||
install=[
|
||||
'corio[version.dev,logging,sets,yaml,debug,caching,api,mqtt]',
|
||||
'psutil'
|
||||
],
|
||||
test=[
|
||||
'pytest>=8.0',
|
||||
'pytest-cov>=5.0',
|
||||
],
|
||||
),
|
||||
description='Home Assistant Control Objects',
|
||||
keywords='homeassistant controls python tasmota',
|
||||
# url=f'https://fmtr.link/{name}',
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue