OpenAssetIO / OpenAssetIO-MediaCreation

OpenAssetIO extensions for use in the Media Creation industry.
Apache License 2.0
12 stars 10 forks source link

[Build] CMake install Python dist-info #66

Closed elliotcmorris closed 1 year ago

elliotcmorris commented 1 year ago

Closes #58.

Install a minimal dist-info alongside the Python sources. This means attempting to overwrite a CMake installation using pip install will error like:

This is as far as possible a direct duplication of https://github.com/OpenAssetIO/OpenAssetIO/pull/1111

The cmake testing is more direct than in OpenAssetIO proper, due to the lack of the utility ecosystem, as well as the test file itself needing a minor change to account for openassetio-mediacreation being two words and thus having a hyphon. Added some additional incidental comments around the cmake stuff, simply because I found the concepts confusing personally.