diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..94b36b8c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "builder" +version = "2.1.0" +license = {text = "Apache-2.0"} +description = "Home Assistant Python wheels builder." +authors = [ + {name = "The Home Assistant Authors", email = "hello@home-assistant.io"} +] +keywords = ["docker", "home-assistant"] +classifiers = [ + "Intended Audience :: Developers", + "Operating System :: POSIX :: Linux", + "Topic :: Home Automation", + "Development Status :: 5 - Production/Stable", +] + +[project.urls] +"Homepage" = "https://home-assistant.io/" + +[tool.setuptools.packages.find] +include = ["builder*"] diff --git a/setup.py b/setup.py deleted file mode 100644 index 3345791f..00000000 --- a/setup.py +++ /dev/null @@ -1,30 +0,0 @@ -from setuptools import setup - -VERSION = "2.1.0" - -setup( - name="builder", - version=VERSION, - license="Apache License 2.0", - author="The Home Assistant Authors", - author_email="hello@home-assistant.io", - url="https://home-assistant.io/", - description="Hass.io wheels builder form Home Assistant.", - long_description="", - classifiers=[ - "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", - "Operating System :: POSIX :: Linux", - "Topic :: Home Automation" - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Scientific/Engineering :: Atmospheric Science", - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Programming Language :: Python :: 3.7", - ], - keywords=["docker", "home-assistant", "hass.io"], - zip_safe=False, - platforms="any", - packages=["builder", "builder.upload"], - include_package_data=True, -) diff --git a/tox.ini b/tox.ini index 91e07021..99be2969 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ commands = [testenv:black] commands = - black --target-version py310 --check builder tests setup.py + black --target-version py312 --check builder tests [testenv:test] commands =