include only *.pyc files in python wheel

Viewed 1461

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?

1 Answers

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

Related