Skip to content

Update packaging - #905

Merged
ofek merged 1 commit into
mainfrom
git
Oct 28, 2025
Merged

ofek merged 1 commit into
mainfrom
git

Conversation

@ofek

@ofek ofek commented Oct 28, 2025

Copy link
Copy Markdown
Member

Changes:

  1. Began transition to modern packaging standards (PEP 517 & 660) using the pyproject.toml file. I only moved what was absolutely necessary to avoid any issues. I'll statically define more metadata in the next PR.
  2. Moved configuration for other tools into the pyproject.toml file.
  3. Removed versioneer in favor of the de facto standard for integrating VCS metadata, setuptools-scm.
  4. setuptools-scm modifies the default files finders to include everything tracked by Git so the MANIFEST.in file now defines exclusion rather than inclusion patterns.
  5. The version file is now exclusively generated at build time and has been added to the .gitignore file.
  6. Modified the .gitattributes file to use lf by default with explicit exceptions for Windows scripts like the make.bat currently used to build docs. Many folks working on Windows (such as myself) prefer to only work with LF and set the following:
    git config --global core.eol lf
    git config --global core.autocrlf input
    

@ofek
ofek marked this pull request as ready for review October 28, 2025 17:34
@ofek
ofek merged commit 840dc83 into main Oct 28, 2025
9 checks passed
@ofek
ofek deleted the git branch October 28, 2025 17:34
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.

1 participant