Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean: Unify license header in PyInstaller source code.

  • Loading branch information...
commit 9bd99c77af73c0297c8f9a31de5b9f0c8aae099f 1 parent c707d8a
@matysek matysek authored
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
View
22 PyInstaller/__init__.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',
View
26 PyInstaller/bindepend.py
@@ -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
25 PyInstaller/build.py
@@ -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
30 PyInstaller/compat.py
@@ -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
View
25 PyInstaller/configure.py
@@ -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
View
30 PyInstaller/depend/dylib.py
@@ -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']
View
40 PyInstaller/depend/impdirector.py
@@ -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
View
23 PyInstaller/depend/imptracker.py
@@ -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
View
28 PyInstaller/depend/modules.py
@@ -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
View
40 PyInstaller/depend/owner.py
@@ -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
View
26 PyInstaller/depend/utils.py
@@ -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
View
36 PyInstaller/fake/fake-site.py
@@ -1,28 +1,22 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
+# 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.
+#-----------------------------------------------------------------------------
-# This is a fake 'site' module available in default Python Library.
-#
-# The real 'site' does some magic to find paths to other possible
-# Python modules. We do not want this behaviour for frozen applications.
-#
-# Fake 'site' makes PyInstaller to work with distutils and to work inside
-# virtualenv environment.
+"""
+This is a fake 'site' module available in default Python Library.
+
+The real 'site' does some magic to find paths to other possible
+Python modules. We do not want this behaviour for frozen applications.
+
+Fake 'site' makes PyInstaller to work with distutils and to work inside
+virtualenv environment.
+"""
# TODO test the following code stub from real 'site' module.
View
5 PyInstaller/hooks/hook-wx.py
@@ -0,0 +1,5 @@
+from hookutils import collect_data_files
+
+
+# Collect wx locale files.
+datas = collect_data_files('wx')
View
2  PyInstaller/loader/__init__.py
@@ -1 +1 @@
-#
+
View
30 PyInstaller/loader/_pyi_bootstrap.py
@@ -1,29 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
-# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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.
+#-----------------------------------------------------------------------------
### Start bootstrap process
View
29 PyInstaller/loader/pyi_archive.py
@@ -1,28 +1,11 @@
+#-----------------------------------------------------------------------------
+# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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.
+#-----------------------------------------------------------------------------
# Subclasses may not need marshal or struct, but since they're
View
27 PyInstaller/loader/pyi_carchive.py
@@ -1,25 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
-# 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) 1999, 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.
+#-----------------------------------------------------------------------------
-# Subclass of Archive that can be understood by a C program (see launch.c).
+"""
+Subclass of Archive that can be understood by a C program (see launch.c).
+"""
import struct
View
34 PyInstaller/loader/pyi_importers.py
@@ -1,28 +1,16 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012-2013, Martin Zibricky
-# Copyright (C) 2005-2011, Giovanni Bajo
+# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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.
+#-----------------------------------------------------------------------------
+
+
+"""
+PEP-302 importers for frozen applications.
+"""
### **NOTE** This module is used during bootstrap.
View
38 PyInstaller/loader/pyi_os_path.py
@@ -1,31 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
-# Copyright (C) 2005-2011, Giovanni Bajo
-#
-# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
### **NOTE** This module is used during bootstrap.
@@ -33,8 +13,10 @@
### List of built-in modules: sys.builtin_module_names
-# Set up 'os' and 'os.path' module replacement functions for use during import
-# bootstrap.
+"""
+Set up 'os' and 'os.path' module replacement functions for use during import
+bootstrap.
+"""
import sys
View
29 PyInstaller/loader/rthooks/pyi_rth_Image.py
@@ -1,28 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
+# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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
View
28 PyInstaller/loader/rthooks/pyi_rth_PIL_Image.py
@@ -1,27 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
+# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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
View
10 PyInstaller/loader/rthooks/pyi_rth_Tkinter.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
import os
import sys
View
10 PyInstaller/loader/rthooks/pyi_rth_babel.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
import os
import sys
View
21 PyInstaller/loader/rthooks/pyi_rth_django.py
@@ -1,19 +1,12 @@
-# Copyright (C) 2009, Lorenzo Berni
-# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# 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.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# 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 os
import sys
View
10 PyInstaller/loader/rthooks/pyi_rth_encodings.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
# At least on Windows, Python seems to hook up the codecs on this
# import, so it's not enough to just package up all the encodings.
import encodings
View
10 PyInstaller/loader/rthooks/pyi_rth_mpldata.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
import os
import sys
View
10 PyInstaller/loader/rthooks/pyi_rth_pkgres.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
import pkg_resources as res
from pyi_importers import FrozenImporter
View
10 PyInstaller/loader/rthooks/pyi_rth_qt4plugins.py
@@ -1,3 +1,13 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
# Qt4 plugins are bundled as data files (see hooks/hook-PyQt4*),
# within a "qt4_plugins" directory.
# We add a runtime hook to tell Qt4 where to find them.
View
28 PyInstaller/loader/rthooks/pyi_rth_twisted.py
@@ -1,27 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C)
+# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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.
+#-----------------------------------------------------------------------------
# This runtime hook installs the default reactor for twisted based app.
View
20 PyInstaller/loader/rthooks/pyi_rth_usb.py
@@ -1,19 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Chien-An "Zero" Cho
+# 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.
+#-----------------------------------------------------------------------------
import ctypes
View
30 PyInstaller/loader/rthooks/pyi_rth_win32comgenpy.py
@@ -1,29 +1,11 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2012, Martin Zibricky
-# 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.
-#
-# In addition to the permissions in the GNU General Public License, the
-# authors give you unlimited permission to link or embed the compiled
-# version of this file into combinations with other programs, and to
-# distribute those combinations without any restriction coming from the
-# use of this file. (The General Public License restrictions do apply in
-# other respects; for example, they cover modification of the file, and
-# distribution when not linked into a combine executable.)
-#
-# 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.
+#-----------------------------------------------------------------------------
# The win32.client.gencache code must be allowed to create the cache in %temp%
View
28 PyInstaller/log.py
@@ -1,23 +1,17 @@
-#! -*- mode: python; coding: utf-8 -*-
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
"""
Logging module for PyInstaller
"""
-#
-# Copyright 2011 by Hartmut Goebel <h.goebel@goebel-consult.de>
-#
-# 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 3 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, see <http://www.gnu.org/licenses/>.
-#
+
__all__ = ['getLogger', 'INFO', 'WARN', 'DEBUG', 'ERROR', 'FATAL']
View
25 PyInstaller/makespec.py
@@ -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.
+#-----------------------------------------------------------------------------
-# Automatically build spec files containing a description of the project
+"""
+Automatically build spec files containing a description of the project
+"""
import os
View
2  PyInstaller/utils/__init__.py
@@ -1 +1 @@
-#
+
View
27 PyInstaller/utils/git.py
@@ -1,20 +1,17 @@
-# This module contains various helper functions for git DVCS
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2011, 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.
+#-----------------------------------------------------------------------------
+
+
+"""
+This module contains various helper functions for git DVCS
+"""
+
from PyInstaller import compat
View
23 PyInstaller/utils/icon.py
@@ -1,23 +1,12 @@
-#! /usr/bin/env python
-# Copyright (C) 2005, Giovanni Bajo
-# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# 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.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# 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.
+#-----------------------------------------------------------------------------
-# This code is courtesy of Thomas Heller, who
-# has kindly donated it to this project.
RT_ICON = 3
RT_GROUP_ICON = 14
View
22 PyInstaller/utils/misc.py
@@ -1,20 +1,12 @@
+#-----------------------------------------------------------------------------
+# 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
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
"""
This module is for the miscellaneous routines which do not fit somewhere else.
View
21 PyInstaller/utils/versioninfo.py
@@ -1,19 +1,12 @@
-# Copyright (C) 2005, Giovanni Bajo
-# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# 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.
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# 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 win32api
import struct
View
29 PyInstaller/utils/winmanifest.py
@@ -1,22 +1,14 @@
-#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2009, Florian Hoech
+# 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, 5th Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# DEV NOTES
+
+# Development notes kept for documentation purposes.
#
# Currently not implemented in the Manifest class:
# * Validation (only very basic sanity checks are currently in place)
@@ -78,9 +70,8 @@
#
# 2009-03-21 First version
-"""
-winmanifest.py
+"""
Create, parse and write MS Windows Manifest files.
Find files which are part of an assembly, by searching shared and
private assemblies.
@@ -89,9 +80,9 @@
Commandline usage:
winmanifest.py <dstpath> <xmlpath>
Updates or adds manifest <xmlpath> as resource in Win32 PE file <dstpath>.
-
"""
+
import os
from glob import glob
import re
View
32 PyInstaller/utils/winresource.py
@@ -1,26 +1,20 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Copyright (C) 2009, Florian Hoech
+# 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, 5th Floor, Boston, MA 02110-1301, USA
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Read and write resources from/to Win32 PE files.
-#
-# Commandline usage:
-# winresource.py <dstpath> <srcpath>
-# Updates or adds resources from file <srcpath> in file <dstpath>.
+"""
+Read and write resources from/to Win32 PE files.
+
+Commandline usage:
+winresource.py <dstpath> <srcpath>
+Updates or adds resources from file <srcpath> in file <dstpath>.
+"""
import pywintypes
View
25 PyInstaller/utils/winutils.py
@@ -1,23 +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
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
-# Utils for Windows platform.
+"""
+Utils for Windows platform.
+"""
__all__ = ['get_windows_dir']
View
7 doc/credits.txt
@@ -28,7 +28,8 @@ please let us know if your name is omitted by accident:
* Hartmut Goebel - Python logging system for message output. Option --log-level.
* Florian Hoech - full Python 2.6 support on Windows including automatic
- handling of DLLs, CRT, manifest, etc.
+ handling of DLLs, CRT, manifest, etc. Read and write resources from/to Win32
+ PE files.
* Martin Zibricky - rewrite the build system for the bootloader using waf.
LSB compliant precompiled bootloaders for Linux. Windows 64-bit support.
@@ -60,4 +61,8 @@ please let us know if your name is omitted by accident:
* Louai Al-Khanji - fixes with optparse module.
+* Thomas Heller - set custom icon of Windows exe files.
+
* Eugene Prigorodov - KInterasDB import hook.
+
+* Alan James Salmoni - Tkinter interface to PyInstaller.
View
16 pyinstaller-gui.py
@@ -1,11 +1,17 @@
#!/usr/bin/python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+#
+# Tkinter interface to PyInstaller.
+#
-# Tkinter interface to the McMillan installer / PyInstaller
-# (c) 2003 Alan James Salmoni - yes, all this bad code is all mine!!!
-# (c) 2011 Hartmut Goebel: adopted to PyInstaller 1.6, use subprocess
-# released under the MIT license
-import os
import sys
import subprocess
from Tkinter import *
View
22 pyinstaller.py
@@ -1,23 +1,15 @@
#! /usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Wrapper around Configure.py / Makespec.py / Build.py
-#
-# Copyright (C) 2010, Martin Zibricky
-# Copyright (C) 2011, 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.
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
#
-# 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.
+# Wrapper around Configure.py / Makespec.py / Build.py
#
-# 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
import os
import optparse
View
28 utils/ArchiveViewer.py
@@ -1,23 +1,17 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Viewer for archives packaged by archive.py
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Copyright (C) 2005-2011, Giovanni Bajo
-# 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.
+#-----------------------------------------------------------------------------
+
+
+"""
+Viewer for archives packaged by archive.py
+"""
import optparse
View
28 utils/BinDepend.py
@@ -1,23 +1,17 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Build packages using spec files
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Copyright (C) 2005-2011, Giovanni Bajo
-#
-# 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.
+#-----------------------------------------------------------------------------
+
+
+"""
+Show dll dependencies of executable files or other dynamic libraries.
+"""
import glob
View
27 utils/Build.py
@@ -1,24 +1,17 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Build packages using spec files
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Copyright (C) 2005-2011, Giovanni Bajo
-#
-# 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
+"""
import optparse
import os
View
21 utils/GrabVersion.py
@@ -1,21 +1,12 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# 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.
+#-----------------------------------------------------------------------------
import os
View
21 utils/MakeComServer.py
@@ -1,21 +1,12 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# 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.
+#-----------------------------------------------------------------------------
import optparse
View
28 utils/Makespec.py
@@ -1,23 +1,17 @@
#!/usr/bin/env python
+#-----------------------------------------------------------------------------
+# Copyright (c) 2013, PyInstaller Development Team.
#
-# Automatically build spec files containing a description of the project
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
#
-# Copyright (C) 2005-2011, Giovanni Bajo
-#
-# 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.
+#-----------------------------------------------------------------------------
+
+
+"""
+Automatically build spec files containing a description of the project
+"""
import optparse
Please sign in to comment.
Something went wrong with that request. Please try again.