From 76f44656a1e27b9b9ae5af43f625c1a10dc27d45 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Wed, 23 Oct 2024 06:51:09 -0400 Subject: [PATCH 1/2] Add entry point to srmise app --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2044137..abb955f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,9 @@ template = "{tag}" dev_template = "{tag}" dirty_template = "{tag}" +[project.scripts] +srmise = "diffpy.srmise.applications.extract:main" + [tool.setuptools.packages.find] where = ["src"] # list of folders that contain the packages (["."] by default) include = ["*"] # package names should match these glob patterns (["*"] by default) From 00d84fade83c1d9b0230763cc3adb6992d4a2aa2 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Wed, 23 Oct 2024 06:53:00 -0400 Subject: [PATCH 2/2] Create entry-point-.rst --- news/entry-point-.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/entry-point-.rst diff --git a/news/entry-point-.rst b/news/entry-point-.rst new file mode 100644 index 0000000..698b5e4 --- /dev/null +++ b/news/entry-point-.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Configure entry point in pyproject.toml to run CLI commands + +**Security:** + +*