Class MovePythonWhlDataStep

  • All Implemented Interfaces:

    public class MovePythonWhlDataStep
    extends Object
    implements Step
    A Step that moves the contents of the {package}-{version}.data directory within an extracted .whl if that directory exists.

    This is a basic, incomplete implementation of PEP491. It does not honor WHEEL files' Install-Paths-To directive in .dist-info, and does not do any fancy path rewriting. For now, it just moves things out of the data prefix (If other distutils' prefixes are required, we can do those later, but they vary much more per-platform than data_files. See for the various subdirs that can exist, and how they vary per-platform).