What is the standard location for GtkBuilder file?
Hi,
I am trying to package a new version of the python application onboard that ships in main, but I don't know what is the standard location for the GtkBuilder file. (I am one of the upstream maintainers and as I have not published the new version yet, I can move the GtkBuilder file before creating the new release.)
Now to the problem:
The setup.py script originally set the GtkBuilder file (the settings.ui file to name it) to go into the data directory that is in the root directory of the package; it did so explicitely in the data_files section of the script. However, this led to the bug, where the strings of the settings file where not included in the POT template:
https:/
I solved the problem by removing the entry for the settings.ui file from the setup.py script and let it be automatically handled by dist-utils-extra. The solution worked fine when I created it, but it does not work anymore because the new 2.16 version of the dist-utils-extra package now moves the settings.ui file outside of the data directory; I think that this did not occur with the version 2.12 of the dist-utils-extra package.
I can of course solve the problem by editing the onboard code to look for the settings.ui file in its new location; but I am not sure whether it will not break again with further updates of the dist-utils-extra package. Consequently, I have the following questions:
- Am I right when I assume that the dist-utils-extra 2.16 package now puts the settings.ui file in the standard place for such files in the binary package, and that it will not break anymore with further updates of the dist-utils-extra package?
- Is there some documentation anywhere, that tells me what is the standard place of typical files in a binary package?
- Is it correct that the dist-utils-extra package only handles the files that are not explicitely named in the data_files section of the setup.py script?
- Does the dist-utils-extra package do a recursive search for files through all the folders of the source package or does it only handle the files located in specific directories? If the latter is true, could you please tell me where I can find some documentation about what folders it takes into account?
Many thanks in advance for any help,
Cheers,
Francesco.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Francesco Fumanti
- Solved:
- Last query:
- Last reply: