setuptools icon indicating copy to clipboard operation
setuptools copied to clipboard

[FR] Add Path support to data-files

Open InvincibleRMC opened this issue 1 year ago • 1 comments

What's the problem this feature will solve?

Use Path objects to define locations for data_files in setup().

Describe the solution you'd like

Allow passing in path objects into the data_files in setup()

Alternative Solutions

Using standard os.path.join works fine but, having the option to use pathlib would be nice.

Additional context

No response

Code of Conduct

  • [X] I agree to follow the PSF Code of Conduct

InvincibleRMC avatar Jul 19 '24 03:07 InvincibleRMC

This PR was moved here

InvincibleRMC avatar Jul 19 '24 21:07 InvincibleRMC

@InvincibleRMC since a PR in pypa/distutils was merged, can this gh issue be closed?

twmr avatar Oct 31 '24 06:10 twmr