In python/CMakeLists.txt is:
```cmake
install(TARGETS _rpm
DESTINATION ${Python3_SITEARCH}/rpm)
install(FILES rpm/transaction.py rpm/__init__.py
DESTINATION ${Python3_SITEARCH}/rpm)
set(egginfo
${PROJECT_NAME}-${PROJECT_VERSION}-py${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}.egg-info)
configure_file(rpm.egg-info.in ${egginfo} @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${egginfo}
DESTINATION ${Python3_SITEARCH})
```
Looksl like this cmake variable is defined in rpm tree🤔
```console
[tkloczko@pers-jacek rpm-4.18.99]$ grep -r Python3_SITEARCH
python/CMakeLists.txt: DESTINATION ${Python3_SITEARCH}/rpm)
python/CMakeLists.txt: DESTINATION ${Python3_SITEARCH}/rpm)
python/CMakeLists.txt: DESTINATION ${Python3_SITEARCH})
```
```console
[tkloczko@pers-jacek rpm-4.18.99]$ grep -r Python3_SITEARCH /usr
grep: /usr/libexec/utempter: Permission denied
grep: /usr/share/polkit-1/rules.d: Permission denied
/usr/share/cmake/Modules/FindPython3.cmake:``Python3_SITEARCH``
grep: /usr/sbin/unix_update: Permission denied
```
In that files is:
```cmake
``Python3_SITEARCH``
Third-party platform dependent installation directory.
Information returned by ``sysconfig.get_path('platlib')``.
```
However ..
```console
[tkloczko@pers-jacek rpm-4.18.99]$ python3 -m sysconfig | grep platlib
platlib = "/usr/lib64/python3.8/site-packages"
```
comments? 🤔
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2650#issuecomment-1711404469
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2650/1711404...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint