10

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?

Zuabi
  • 1,112
  • 1
  • 13
  • 26

1 Answers1

2

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

Berislav Lopac
  • 16,656
  • 6
  • 71
  • 80