Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 866569

Summary: dev-util/gtk-doc-1.33.2 - Python module not byte-compiled
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2022-08-25 18:26:48 UTC
/usr/share/gtk-doc/python/gtkdoc/__init__.py
Comment 1 Mike Gilbert gentoo-dev 2022-08-25 18:32:01 UTC
I think these python files are meant as example code for incorporation into other projects. If so, compiling them makes no sense.
Comment 2 Chris Mayo 2022-08-25 18:48:55 UTC
I think they are gtk-doc itself now e.g. from /usr/bin/gtkdoc-scan

```
try:
  import gtkdoc_uninstalled
except ModuleNotFoundError:
  sys.path.append('/usr/share/gtk-doc/python')

from gtkdoc import common, config, scan
```