After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578720 - [Python] Add pyw as a valid extension
[Python] Add pyw as a valid extension
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.8
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-04-11 20:11 UTC by Carsten Grohmann
Modified: 2015-12-30 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carsten Grohmann 2009-04-11 20:11:45 UTC
Hi,

please add .pyw to the list of valid extensions. The pyw extension is used on Windows to mark Python script that will be executed by the Python interpreter without opening a terminal window. This behaviour is often used for GUIs.

Workaround
==========
EXTENSION_MAPPING      =  pyw=Python

Kind regards,
Carsten
Comment 1 albert 2015-12-26 13:44:35 UTC
I've just pushed a proposed patch to github (pull request 428).

Not all extensions should be added to doxygen (as EXTENSION_MAPPING is easily possible), but based on: https://docs.python.org/2/tutorial/appendix.html (15.1.2. Executable Python Scripts) this extension is added.
Comment 2 albert 2015-12-26 18:02:41 UTC
Changes have been integrated in github master version
Comment 3 Dimitri van Heesch 2015-12-30 10:19:39 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferably in the form of a self-contained example).