include only *.pyc files in python wheel
Asked Answered
G

1

12

How can I include only *.pyc files in a python wheel? When creating eggs, it used to be possible to run python setup.py bdist_egg --exclude-source-files

Given that eggs have been replaced by wheels, how would I reproduce a similar result?

Gravimetric answered 14/1, 2019 at 18:15 Comment(0)
M
4

I haven't tried it, but it looks like pyc-wheel does precisely that.

Misname answered 18/9, 2020 at 9:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.