diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b0d2098..34372a2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,7 @@ +Growmax v1.2.7 +============================== +* Update project to remove setup.cfg and rely on more complete pyproject.toml for build configuration. + Growmax v1.2.6 ============================== * Only report active relays (assume non-reported relays as inactive) diff --git a/pyproject.toml b/pyproject.toml index b61373e..90e38c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,30 @@ [build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" + +[project] +name = "growmax" +version = "1.2.7" +description = "Micropython routines for automated plant watering and monitoring." +authors = [ + {name = "Matt Davis and OpenSensor.io", email = "matteius@gmail.com"}, +] +readme = "README.md" +license = {file = "LICENSE"} +requires-python = ">=3.8" +classifiers = [ + "Programming Language :: Python :: Implementation :: MicroPython", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.urls] +Homepage = "https://www.opensensor.io" +Repository = "https://github.com/opensensor/growmax.git" +Issues = "https://github.com/opensensor/growmax/issues" + +[tool.setuptools] +package-dir = {"" = "src"} + +[tool.setuptools.packages.find] +where = ["src"] \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index ebc332c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,25 +0,0 @@ -[metadata] -name = growmax -version = 1.2.6 -author = Matt Davis and OpenSensor.io -author_email = matteius@gmail.com -description = Micropython routines for automated plant watering and monitoring. -long_description = file: README.md, LICENSE -long_description_content_type = text/markdown -url = https://github.com/opensensor/growmax -project_urls = - Bug Tracker = https://github.com/opensensor/growmax/-/issues - repository = https://github.com/opensensor/growmax -classifiers = - Programming Language :: Python :: Implementation :: MicroPython - License :: OSI Approved :: MIT License - Operating System :: OS Independent - -[options] -package_dir = - = src -packages = find: -python_requires = >=3.8 - -[options.packages.find] -where = src