-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python module tried to install to /usr/lib/python3.10, need it to install to /app/lib/python3.10 #1351
Comments
You'd want to look in |
Thank for info, I will look into it. Also do you happen to know when is the next release of Avogadro coming? edit: found that Python_STDARCH will look for system python install dir, so it will be set to /usr/lib |
Sorry, just saw this - do you need CMake changes for the 1.98 release? Hoping to get it finished by 23 Oct. (10/23 in US = "Mole Day") |
Hi, |
Does #1413 solve this (as part of 1.98.1)? |
Sadly not,
Avogadrolibs 1.98.1
|
@matterhorn103 - do you think this is still needed? If so, I can tweak the |
I'm happy to investigate but I'm not sure I really understand what the issue is about? |
In any case, this is as far as I can tell purely about the Python bindings. The Flatpak builds (in current I've not encountered this error at any point with the current build strategy, which as I say matches the other releases. So unless I am misunderstanding the issue I think we can probably close this. Even apart from the fact that the other binary releases don't ship bindings either, I think Flatpak users will rarely be looking for this functionality. I suspect the Flatpak sandboxing would make the UX unpleasant anyway. The sorts of Linux users who need Python bindings would probably use distro packages, or the PyPI package, or compile themselves. As an aside though, yet another nice feature of Flatpak and Flathub is the possibility of creating Extensions for Flatpak applications. If I was/we were to make the Python bindings available to Flatpak users again it would probably be as an extension. The same goes for Molequeue and for other optional functionality. |
Avogadro version: (please complete the following information from the About box):
Desktop version: (please complete the following information):
Operating System: openSUSE Tumbleweed 20230906
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.12-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 7.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 82B5
System Version: Lenovo Legion 5 15ARH05
flatpak-builder 1.2.3
Running: cmake --version
cmake version 3.27.4
Running: gcc --version
gcc (GCC) 12.2.0
Describe the bug
I am updating and packaging Avogadro for Flatpak. https://discuss.avogadro.cc/t/avogadro2-is-on-flathub/3481
I am just testing to see if things will build.
I use the CMake options below.
In attempt to fix the issue I tried these options one by one. But it is still wanting to install to
/usr/lib/python3.10/avogadro
Thank you.
The text was updated successfully, but these errors were encountered: