Skip to content

Modernise packaging (PEP-621)#1

Open
AlecThomson wants to merge 3 commits into
stella-ocker:mainfrom
AlecThomson:PEP-621
Open

Modernise packaging (PEP-621)#1
AlecThomson wants to merge 3 commits into
stella-ocker:mainfrom
AlecThomson:PEP-621

Conversation

@AlecThomson
Copy link
Copy Markdown

Hi there!

I hope this is useful.

This PR effectively just implments PEP-621 and puts all metadata into pyproject.toml. I tried to avoid touching other parts of the codebase, but some script renames were required.

Summary of basic changes is:

  • Moves CLI scripts to submodule.
  • Adds main function to CLI scripts to enable this.
  • Drops .py from CLI entry points
  • Moves metadata to pyproject.toml
  • Adds dependencies pyproject.toml
  • Removes setup.cfg
  • Adds uv.lock for uv based installs.
  • Adds basic Python .gitignore

Alec Thomson and others added 3 commits February 13, 2026 16:06
Fixes several errors that arise from changing to cli, adds numpy version condition.
Copy link
Copy Markdown
Owner

@stella-ocker stella-ocker left a comment

Choose a reason for hiding this comment

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

Suggest changing NE2001.py back to NE2001p.py and NE2025.py to NE2025p.py, to avoid confusion with files of same name that are under src/mwprop/nemod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants