hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.34k stars 114 forks source link

tools/ included during bdist_wheel #149

Closed UTsweetyfish closed 1 year ago

UTsweetyfish commented 1 year ago

Describe the bug

Download HyFetch-1.4.9-py3-none-any.whl from pypi, inspecting the wheel file.

image

tools/ directory is included in the wheel file.

Expected behavior

Only hyfetch/ and dist-info should be included in wheel.

Config file

(not appliable)

Additional context

Linked to https://github.com/deepin-community/hyfetch/pull/1#issuecomment-1630095160

UTsweetyfish commented 1 year ago

I would recommend using find_namespace_packages(include=['hyfetch', 'hyfetch.*']) in setup.py.

https://github.com/hykilpikonna/hyfetch/blob/7bfac43dd9c3973fd28a6282f81f556951d0efde/setup.py#L34

hykilpikonna commented 1 year ago

Fixed!

image