From d3f8a24eefb5b0c667f5574392ef7408cb67532e Mon Sep 17 00:00:00 2001 From: "Joshua J. Cogliati" Date: Mon, 5 Aug 2024 09:08:12 -0600 Subject: [PATCH 1/3] Initial pip package. --- build_cfg/HERON | 1 + build_cfg/MANIFEST.in | 3 +++ build_cfg/pyproject.toml | 3 +++ build_cfg/setup.cfg | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 120000 build_cfg/HERON create mode 100644 build_cfg/MANIFEST.in create mode 100644 build_cfg/pyproject.toml create mode 100644 build_cfg/setup.cfg diff --git a/build_cfg/HERON b/build_cfg/HERON new file mode 120000 index 00000000..24e8c1fd --- /dev/null +++ b/build_cfg/HERON @@ -0,0 +1 @@ +../../HERON \ No newline at end of file diff --git a/build_cfg/MANIFEST.in b/build_cfg/MANIFEST.in new file mode 100644 index 00000000..368e49ce --- /dev/null +++ b/build_cfg/MANIFEST.in @@ -0,0 +1,3 @@ +include HERON/LICENSE +include HERON/NOTICE.txt +include HERON/README.md diff --git a/build_cfg/pyproject.toml b/build_cfg/pyproject.toml new file mode 100644 index 00000000..b0f07653 --- /dev/null +++ b/build_cfg/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42"] +build-backend = "setuptools.build_meta" diff --git a/build_cfg/setup.cfg b/build_cfg/setup.cfg new file mode 100644 index 00000000..a4fa81dd --- /dev/null +++ b/build_cfg/setup.cfg @@ -0,0 +1,36 @@ +[metadata] +name = heron-ravenframework +version = 0.5rc1 +description = HERON plugin for RAVEN framework +long_description = file: HERON/README.md +license_files = HERON/LICENSE HERON/NOTICE.txt +url = https://github.com/idaholab/HERON + +[options.entry_points] +console_scripts = + heron = HERON.src.main:main + +[options.package_data] +HERON/templates = + *.xml +HERON/src/Hybrid2Heron = + *.csv + +[options] +packages = + HERON + HERON/src + HERON/src/dispatch + HERON/src/validators + HERON/src/ValuedParams + HERON/src/Hybrid2Heron + HERON/templates +python_requires = >=3.9 + +install_requires = + raven_framework >=3.1rc1 + teal_ravenframework + dill==0.3.5 + pyomo==6.4 + networkx + pyutilib From a958c243c474c49f2ef7528944d47604f203d3bf Mon Sep 17 00:00:00 2001 From: "Joshua J. Cogliati" Date: Mon, 5 Aug 2024 10:07:57 -0600 Subject: [PATCH 2/3] Adding new package. --- build_cfg/setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/build_cfg/setup.cfg b/build_cfg/setup.cfg index a4fa81dd..3cda6172 100644 --- a/build_cfg/setup.cfg +++ b/build_cfg/setup.cfg @@ -24,6 +24,7 @@ packages = HERON/src/validators HERON/src/ValuedParams HERON/src/Hybrid2Heron + HERON/src/TransferFuncs HERON/templates python_requires = >=3.9 From 87fb2974ca4dffce2f71f0b21f0760becbf90b96 Mon Sep 17 00:00:00 2001 From: "Joshua J. Cogliati" Date: Thu, 26 Sep 2024 10:02:27 -0600 Subject: [PATCH 3/3] Adding README. --- build_cfg/README | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 build_cfg/README diff --git a/build_cfg/README b/build_cfg/README new file mode 100644 index 00000000..48694211 --- /dev/null +++ b/build_cfg/README @@ -0,0 +1,8 @@ +To build this, use the build module in python: + + +python3 -m ensurepip +python3 -m pip install --upgrade build +python3 -m build + +This will create packages in the dist directory.