4

I'm building a simple wheel package using python setup.py bdist_wheel.

This will build the package first in the directory ./build. How can I customize that location?

For the setup.py bdist command there appears to be an argument --bdist-base but not so for bdist_wheel, I think.

faph
  • 1,605
  • 13
  • 12
  • I think it's impossible from the command line: `bdist_wheel` doesn't accept option `--build-base`. Perhaps it's possible with a [custom build class](https://stackoverflow.com/a/43728788/7976758) (found in https://stackoverflow.com/search?q=%5Bsetuptools%5D+custom+build+command): override `build` and set `self.build_base` before calling parent's `run()`. – phd Sep 11 '20 at 11:45

0 Answers0