microsoft / microsoft/typespec

Python packaging should not include package_data

Open
#7,718 0 comments 0 reactions 0 assignees View on GitHub
emitter:client:python
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Today we do that:

![Image](https://github.com/user-attachments/assets/48649d1f-caa3-4895-8737-4da14c0056f4)

But starting setuptools 69.0.0, this is not necessary. And this line can be wrong at times, so we should let setuputools package files by itself.

Ref:
https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#including-data-files

![Image](https://github.com/user-attachments/assets/8abc46b1-ff01-4d3f-ab5b-07f8dc452b0e)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.