Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rda_python_miscs"
version = "2.0.1"
version = "2.0.2"
authors = [
{ name="Zaihua Ji", email="zji@ucar.edu" },
]
Expand Down Expand Up @@ -45,3 +45,4 @@ pythonpath = [
"rdacp.py" = "rda_python_miscs.rdacp:main"
"rdakill.py" = "rda_python_miscs.rdakill:main"
"rdamod.py" = "rda_python_miscs.rdamod:main"
"pgrst" = "rda_python_miscs.pg_rst:main"

Copilot AI Mar 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added console script entry points to rda_python_miscs.pg_rst:main, but pg_rst.py does not define a main() function (it only has an if __name__ == '__main__': block). This will make pgrst fail at runtime when installed. Expose a main() callable (and have the __main__ block call it), or update the entry point to a function that exists.

Suggested change
"pgrst" = "rda_python_miscs.pg_rst:main"

Copilot uses AI. Check for mistakes.
Loading
Loading