Closed jhwangbo closed 1 year ago
Thank you for pointing them out. Before I revert some of the changes, can you tell me what this line from your commit supposed to do print(sc.get_python_lib(prefix='', plat_specific=True))
? This was the key change in my commit
I commented on the older PR - it is meant to extract the correct installation path and slug based on the setup e.g. whether it's a native distro or venv and whether to use full python3.x or python3 paths.
Unfortunately, this PR seems to also have reverted the lib installation and CMake config files:
Hi @jhwangbo, this change may break installations and use cases, particularly through: (i) non-venv python installations on Ubuntu - both through the switch away from the platform-specific slug as well as by replacing
${PYTHON_EXECUTABLE}
withpython
which wont work on stock Ubuntu for instance (ii) no longer installs the library assets as e.g. used in workspacesWould it be possible to revert some of these changes? Or understand which use cases were broken by the previous logic?