Skip to content

Match setuptools behavior for include_package_data default.#873

Merged
henryiii merged 4 commits intoscikit-build:mainfrom
vyasr:864-tools-documentation
Mar 2, 2023
Merged

Match setuptools behavior for include_package_data default.#873
henryiii merged 4 commits intoscikit-build:mainfrom
vyasr:864-tools-documentation

Conversation

@vyasr
Copy link
Contributor

@vyasr vyasr commented Feb 28, 2023

This PR attempts to match the default behavior of include_package_data in setuptools, which is somewhat subtle in that the default is dependent on the existence of certain tables in pyproject.toml.

Resolves #864.

@henryiii henryiii force-pushed the 864-tools-documentation branch from 14584d8 to 750d70f Compare March 2, 2023 20:52
@henryiii henryiii merged commit 6d6a38e into scikit-build:main Mar 2, 2023
@vyasr
Copy link
Contributor Author

vyasr commented Mar 2, 2023

Thanks for making the change to use tomli/tomllib instead of manual text parsing! As you noted I wasn't sure if you wanted to introduce the dependency.

@vyasr vyasr deleted the 864-tools-documentation branch March 2, 2023 22:10
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.

Incompatibility with tool.setuptools.packages in pyproject.toml

2 participants