[PyOpenGL-Devel] [ pyopengl-Bugs-3287895 ] Remove shebang from Tk module
Brought to you by:
mcfletch
|
From: SourceForge.net <no...@so...> - 2011-05-14 18:33:45
|
Bugs item #3287895, was opened at 2011-04-15 17:20 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3287895&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tk Group: v3.0.0 Status: Open Resolution: None Priority: 1 Private: No Submitted By: Nikolay Vladimirov (nvloff) Assigned to: Nobody/Anonymous (nobody) Summary: Remove shebang from Tk module Initial Comment: OpenGL/Tk/__init__.py has: #!/usr/bin/env python As PyOpenGL went trough Fedora package review ( https://bugzilla.redhat.com/show_bug.cgi?id=234121 ) it was noted that python modules should not be executable and have shebang at the begining. Currently a patch is present in the Fedora package that removes this and it will be great if we can dump the patch. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2011-05-14 14:33 Message: Have removed the shebang line in this module from bzr head. Fedora might want to review policy, however, as it is quite possible for modules to be executable intentionally. Often the executable module is a demo or tool for the functionality in the module. Later packages tend toward using setuptools or python -m for that functionality, but certainly lots of older modules follow that pattern. This module (Tk) was, I believe, at some point, following that pattern, but the demo was moved into the PyOpenGL-Demo package. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3287895&group_id=5988 |