From 89a6e607164886492f731c8324073ea04df2da04 Mon Sep 17 00:00:00 2001 From: Taoning Wang Date: Thu, 31 Aug 2023 10:11:15 -0700 Subject: [PATCH] update pyenergyplus dependency --- pyproject.toml | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 42b9fb8..14c7a2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,6 @@ -# [build-system] -# requires = ["setuptools>=61.0"] -# build-backend = "setuptools.build_meta" - [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" [project] name = "frads" @@ -18,8 +14,8 @@ dependencies = [ "numpy>=1.24.4", "pyradiance >= 0.1.2", "scipy~=1.10.1", - "pyenergyplus", "pywincalc>=3.1.0", + "pyenergyplus_lbnl", ] license = "BSD-3-Clause-LBNL" requires-python = ">= 3.8" @@ -28,23 +24,8 @@ requires-python = ">= 3.8" gen = "frads.cli:gen" mrad = "frads.cli:mrad" -[tool.hatch.version] -path = "frads/__init__.py" - -[tool.hatch.metadata] -allow-direct-references = true - -[project.optional-dependencies] -test = [ - "pytest>=7.4.0", -] -docs = [ - "mkdocs>=1.4.3", - "mkdocstrings[python]>=0.22.0", - "mkdocs-material>=9.1.18", -] +[tool.setuptools.dynamic] +version = {attr = "frads.__version__"} -[tool] -rye = { dev-dependencies = [ - "pytest>=7.4.0", -] } +[tool.ruff.pydocstyle] +convention = "google"