Skip to content

Revise MANIFEST.in - #1107

Open
mhucka wants to merge 4 commits into
quantumlib:mainfrom
mhucka:add-to-manifest
Open

Revise MANIFEST.in#1107
mhucka wants to merge 4 commits into
quantumlib:mainfrom
mhucka:add-to-manifest

Conversation

@mhucka

@mhucka mhucka commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

The previous approach of relying on setuptools-scm's ability to use the .gitignore file apparently doesn't work when building sdist distributions using a toolchain that runs inside a Docker environment.

This PR revises and tunes the MANIFEST.in file to get just the things needed for the sdist file.

The previous approach of relying on setuptools-scm's ability to use the
`.gitignore` file apparently doesn't work when building sdist
distributions using a toolchain that runs inside a Docker environment.

This PR revises and tunes the `MANIFEST.in` file to get just the things
needed for the sdist file.
@github-actions github-actions Bot added the size: M 50< lines changed <250 label Sep 1, 2026
@mhucka

mhucka commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

/gemini review

gemini-code-assist[bot]

This comment was marked as outdated.

@mhucka
mhucka marked this pull request as ready for review September 1, 2026 07:06
@mhucka

mhucka commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the MANIFEST.in file to explicitly define the files and directories to include, graft, prune, and exclude for the source distribution, replacing the previous simple recursive-exclude rules. It also adds a standard Apache 2.0 copyright and license header to the file. There are no review comments to address, and I have no feedback to provide.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the MANIFEST.in file to comprehensively specify which files and directories are included or excluded in the source distribution, replacing the previous minimal configuration. The reviewer raised a valid concern that pruning the tests and third_party directories could break C++ compilation during source distribution installation if CMakeLists.txt unconditionally references them.

Comment thread MANIFEST.in
@mhucka

mhucka commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the MANIFEST.in file to explicitly define the files and directories included in and excluded from the source distribution. It adds a copyright and license header, includes root build files, metadata, C++ sources, Pybind interfaces, and Python package sources, while pruning development tools, documentation, container configurations, and build artifacts. There are no review comments, so I have no feedback to provide.

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

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant