From 91847b5f16a3610db8e0c441f51570db6809f9d5 Mon Sep 17 00:00:00 2001 From: Ryan McGinty Date: Tue, 19 Sep 2023 18:03:17 -0700 Subject: [PATCH] Create README.md --- .github/ISSUE_TEMPLATE/bug-report.md | 26 ------------ .github/ISSUE_TEMPLATE/feature-request.md | 16 ------- .github/PULL_REQUEST_TEMPLATE/default.md | 42 ------------------- .github/PULL_REQUEST_TEMPLATE/simple.md | 9 ---- README.md | 4 ++ pyproject.toml | 17 +++++--- .../__version__.py | 1 + 7 files changed, 17 insertions(+), 98 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature-request.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/default.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/simple.md create mode 100644 README.md create mode 100644 src/aibs_informatics_test_resources/__version__.py diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 1858bf2..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Bug Report -about: 'Use this template for issues relating to unexpected / non-functioning behavior ' -title: "[BUG]" -labels: bug -assignees: '' - ---- - -### Summary - - -#### Expected Behavior - - - -### To Reproduce - - - - -### Environment Details -#### Desktop (please complete the following information): -- **OS**: [e.g. iOS] -- **GCS Version** [e.g. 0.0.1 or commit ID] -- **Python Version** [e.g. python 3.9.16] diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 1363763..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Feature Request -about: 'Use this template for requesting new features' -title: "[FEATURE]" -labels: enhancement -assignees: '' ---- - -### Summary - - -#### Justification - - -#### Solution - diff --git a/.github/PULL_REQUEST_TEMPLATE/default.md b/.github/PULL_REQUEST_TEMPLATE/default.md deleted file mode 100644 index eef3b04..0000000 --- a/.github/PULL_REQUEST_TEMPLATE/default.md +++ /dev/null @@ -1,42 +0,0 @@ -# Details - -## Type of Change -- [ ] Refactor -- [ ] Bug fix -- [ ] New Feature -- [ ] Breaking change - - -## Problem - - - -Fixes # (issue) - -## Solution - -### Summary of Changes - - - -### Change List - - -- -- -- - - -### Additional Details - - -## Testing - -### Automated Tests - - - -### Manual Tests - - - diff --git a/.github/PULL_REQUEST_TEMPLATE/simple.md b/.github/PULL_REQUEST_TEMPLATE/simple.md deleted file mode 100644 index 79293fd..0000000 --- a/.github/PULL_REQUEST_TEMPLATE/simple.md +++ /dev/null @@ -1,9 +0,0 @@ -## What's in this Change? - - - - -## Testing - - - diff --git a/README.md b/README.md new file mode 100644 index 0000000..9155ab2 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# aibs-informatics-test-resources +Python test utility package + +fill in later with details diff --git a/pyproject.toml b/pyproject.toml index ff7686b..430f5a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,17 +3,21 @@ # https://setuptools.pypa.io/en/latest/setuptools.html#building-and-distributing-packages-with-setuptools # ----------------------------------------------------------------------------- -[build-system] -requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2", "wheel"] -build-backend = "setuptools.build_meta" +# [build-system] +# requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2", "wheel"] +# build-backend = "setuptools.build_meta" +# [tool.setuptools_scm] -[tool.setuptools_scm] +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" # ----------------------------------------------------------------------------- [project] name = "aibs-informatics-test-resources" -version = "0.0.1" description = "unit test resources for informatics packages" +dynamic = ["version"] + requires-python = ">=3.9" dependencies = [ "black==22.3", @@ -28,6 +32,9 @@ dependencies = [ [tool.setuptools.packages.find] where = ["src"] +[tool.hatch.version] +path = "src/aibs_informatics_test_resources/__version__.py" + # ----------------------------------------------------------------------------- ## Pyright Configurations diff --git a/src/aibs_informatics_test_resources/__version__.py b/src/aibs_informatics_test_resources/__version__.py new file mode 100644 index 0000000..f102a9c --- /dev/null +++ b/src/aibs_informatics_test_resources/__version__.py @@ -0,0 +1 @@ +__version__ = "0.0.1"