python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
30.3k stars 2.24k forks source link

Support for data_files (peoblix is not maintained anymore) #9519

Open faxm0dem opened 5 days ago

faxm0dem commented 5 days ago

Issue Kind

Other

Description

We would like to ship data files (config files, resources) in our packages. This was possible with setuptools, and lately with the unmainained poeblix (See also #890).

Impact

This would allow many users (see #890) to ship external files with the generated packages.

Workarounds

Today either we can use an older version of poetry with poeblix plugin, or ship data files in a separate package.

dimbleby commented 5 days ago

This is an anti-pattern, explicitly anti-recommended by pypa and deprecated at setuptools. I doubt that poetry should be adding support for this.

Originally #890, more recently #8867