Skip to content

Migrate from setup.py to pyproject.toml#2323

Open
joshuaswanson wants to merge 1 commit intospcl:mainfrom
joshuaswanson:migrate-to-pyproject-toml
Open

Migrate from setup.py to pyproject.toml#2323
joshuaswanson wants to merge 1 commit intospcl:mainfrom
joshuaswanson:migrate-to-pyproject-toml

Conversation

@joshuaswanson
Copy link

Closes #2173.

Replaces setup.py with a pyproject.toml using the setuptools build backend. All metadata, dependencies, optional dependency groups, console scripts, and package data patterns have been preserved.

Notable changes:

  • cmake and scikit-build are now always listed as dependencies (the old setup.py conditionally excluded them if cmake >= 3.17 was found on the system, but this dynamic check is not possible in a static pyproject.toml)
  • Version is read dynamically from dace.version.__version__
  • Package data uses the same glob patterns as before
  • MANIFEST.in is kept as-is for source distributions

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.

Switch to pyproject.toml

1 participant