Permalink
Browse files

Clean: Unify license header in PyInstaller source code.

  • Loading branch information...
1 parent c707d8a commit 9bd99c77af73c0297c8f9a31de5b9f0c8aae099f @matysek matysek committed Jan 29, 2013
Showing with 438 additions and 726 deletions.
  1. +7 −15 PyInstaller/__init__.py
  2. +9 −17 PyInstaller/bindepend.py
  3. +9 −16 PyInstaller/build.py
  4. +13 −17 PyInstaller/compat.py
  5. +9 −16 PyInstaller/configure.py
  6. +9 −21 PyInstaller/depend/dylib.py
  7. +16 −24 PyInstaller/depend/impdirector.py
  8. +7 −16 PyInstaller/depend/imptracker.py
  9. +10 −18 PyInstaller/depend/modules.py
  10. +16 −24 PyInstaller/depend/owner.py
  11. +9 −17 PyInstaller/depend/utils.py
  12. +15 −21 PyInstaller/fake/fake-site.py
  13. +5 −0 PyInstaller/hooks/hook-wx.py
  14. +1 −1 PyInstaller/loader/__init__.py
  15. +6 −24 PyInstaller/loader/_pyi_bootstrap.py
  16. +6 −23 PyInstaller/loader/pyi_archive.py
  17. +9 −18 PyInstaller/loader/pyi_carchive.py
  18. +11 −23 PyInstaller/loader/pyi_importers.py
  19. +10 −28 PyInstaller/loader/pyi_os_path.py
  20. +6 −23 PyInstaller/loader/rthooks/pyi_rth_Image.py
  21. +6 −22 PyInstaller/loader/rthooks/pyi_rth_PIL_Image.py
  22. +10 −0 PyInstaller/loader/rthooks/pyi_rth_Tkinter.py
  23. +10 −0 PyInstaller/loader/rthooks/pyi_rth_babel.py
  24. +7 −14 PyInstaller/loader/rthooks/pyi_rth_django.py
  25. +10 −0 PyInstaller/loader/rthooks/pyi_rth_encodings.py
  26. +10 −0 PyInstaller/loader/rthooks/pyi_rth_mpldata.py
  27. +10 −0 PyInstaller/loader/rthooks/pyi_rth_pkgres.py
  28. +10 −0 PyInstaller/loader/rthooks/pyi_rth_qt4plugins.py
  29. +6 −22 PyInstaller/loader/rthooks/pyi_rth_twisted.py
  30. +6 −14 PyInstaller/loader/rthooks/pyi_rth_usb.py
  31. +6 −24 PyInstaller/loader/rthooks/pyi_rth_win32comgenpy.py
  32. +11 −17 PyInstaller/log.py
  33. +9 −16 PyInstaller/makespec.py
  34. +1 −1 PyInstaller/utils/__init__.py
  35. +12 −15 PyInstaller/utils/git.py
  36. +6 −17 PyInstaller/utils/icon.py
  37. +7 −15 PyInstaller/utils/misc.py
  38. +7 −14 PyInstaller/utils/versioninfo.py
  39. +10 −19 PyInstaller/utils/winmanifest.py
  40. +13 −19 PyInstaller/utils/winresource.py
  41. +9 −16 PyInstaller/utils/winutils.py
  42. +6 −1 doc/credits.txt
  43. +11 −5 pyinstaller-gui.py
  44. +7 −15 pyinstaller.py
  45. +11 −17 utils/ArchiveViewer.py
  46. +11 −17 utils/BinDepend.py
  47. +10 −17 utils/Build.py
  48. +6 −15 utils/GrabVersion.py
  49. +6 −15 utils/MakeComServer.py
  50. +11 −17 utils/Makespec.py
@@ -1,20 +1,12 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2011 by Hartmut Goebel
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
__all__ = ('HOMEPATH', 'CONFIGDIR', 'PLATFORM',
'VERSION', 'get_version',
@@ -1,23 +1,15 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Find external dependencies of binary libraries.
+"""
+Find external dependencies of binary libraries.
+"""
import os
View
@@ -1,23 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
-# Based on previous work under copyright (c) 1999, 2002 McMillan Enterprises, Inc.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Build packages using spec files.
+"""
+Build packages using spec files.
+"""
import glob
View
@@ -1,22 +1,18 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Various classes and functions to provide some backwards-compatibility
-# with previous versions of Python from 2.3 onward.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Copyright (C) 2011, Martin Zibricky
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
+"""
+Various classes and functions to provide some backwards-compatibility
+with previous versions of Python from 2.3 onward.
+"""
+
import dircache # Module removed in Python 3
import os
@@ -1,23 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Configure PyInstaller for the current Python installation.
+"""
+Configure PyInstaller for the current Python installation.
+"""
import os
@@ -1,28 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005-2011, Giovanni Bajo
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
-# Note also that you should check the results to make sure that the
-# dlls are redistributable. I've listed most of the common MS dlls
-# under "excludes" below; add to this list as necessary (or use the
-# "excludes" option in the INSTALL section of the config file).
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Manipulating with dynamic libraries.
+"""
+Manipulating with dynamic libraries.
+"""
__all__ = ['exclude_list', 'include_list', 'include_library']
@@ -1,29 +1,21 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
-
-# ImportDirectors live on the metapath.
-# There's one for builtins and one for sys.path.
-# Windows gets one for modules gotten from the Registry
-# There should be one for Frozen modules
-# Mac would have them for PY_RESOURCE modules etc.
-# A generalization of Owner - their concept of "turf" is broader
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
+"""
+ImportDirectors live on the metapath.
+There's one for builtins and one for sys.path.
+Windows gets one for modules gotten from the Registry
+There should be one for Frozen modules
+Mac would have them for PY_RESOURCE modules etc.
+A generalization of Owner - their concept of "turf" is broader
+"""
import os
@@ -1,21 +1,12 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
import sys
import os
@@ -1,25 +1,17 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# All we're doing here is tracking, not importing
-# If we were importing, these would be hooked to the real module objects
+"""
+All we're doing here is tracking, not importing
+If we were importing, these would be hooked to the real module objects
+"""
import os
@@ -1,29 +1,21 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
-
-# An Owner does imports from a particular piece of turf
-# That is, there's an Owner for each thing on sys.path
-# There are owners for directories and .pyz files.
-# There could be owners for zip files, or even URLs.
-# Note that they replace the string in sys.path,
-# but str(sys.path[n]) should yield the original string.
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
+"""
+An Owner does imports from a particular piece of turf
+That is, there's an Owner for each thing on sys.path
+There are owners for directories and .pyz files.
+There could be owners for zip files, or even URLs.
+Note that they replace the string in sys.path,
+but str(sys.path[n]) should yield the original string.
+"""
import imp
@@ -1,24 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2005, Giovanni Bajo
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Scan the code object for imports, __all__ and wierd stuff
+"""
+Scan the code object for imports, __all__ and wierd stuff
+"""
import dis
Oops, something went wrong.

0 comments on commit 9bd99c7

Please sign in to comment.