0

I have generated python source files (from protocol buffer definitions) in build/generated-sources that are referenced by my setup.py script:

package_dir={'': 'build/generated-sources/main'},

But sdist.py prunes all files from the build folder.

I could copy these out of the build directory, but that seems hacky?

rsb
  • 1,020
  • 1
  • 10
  • 25

1 Answers1

0

The answer is the --no-prune flag!

rsb
  • 1,020
  • 1
  • 10
  • 25