Skip to content

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Oct 20, 2025

Changes:

  • Add cmake to setup_requires in setuptools.setup. This helps ensure that builds get a known version of cmake even if it's not installed on the host system.
  • Add more fields to setuptools.setup(), including classifiers and keywords for greater discoverability.
  • Add the usual license header at the top of the file.
  • Fix a linter complaint about the call to open.

This adds more fields to setuptools.setup(), including classifiers and
keywords for greater discoverability. It also adds a standard copyright
header.
Adding cmake to `setup_requires` helps make this more portable to
environments where cmake is not installed as a system tool.
@mhucka mhucka changed the title Add more info to setup.py Slightly update setup.py Oct 20, 2025
@mhucka mhucka changed the title Slightly update setup.py Slightly enhance setup.py Oct 20, 2025
@mhucka mhucka marked this pull request as ready for review October 20, 2025 05:26
@mhucka mhucka requested a review from Strilanc October 20, 2025 05:27
As Craig pointed out, some didn't apply to this, and others were probably insufficiently helpful.
@mhucka mhucka added this pull request to the merge queue Oct 31, 2025
Merged via the queue into quantumlib:main with commit d98f74b Oct 31, 2025
49 checks passed
@mhucka mhucka deleted the mh-update-setuppy branch October 31, 2025 01:23
mhucka added a commit that referenced this pull request Dec 1, 2025
Changes:

* Add `cmake` to `setup_requires` in `setuptools.setup`. This helps
ensure that builds get a known version of `cmake` even if it's not
installed on the host system.
* Add more fields to setuptools.setup(), including classifiers and
keywords for greater discoverability.
* Add the usual license header at the top of the file.
* Fix a linter complaint about the call to `open`.
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