Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #304: Add wrapper scripts for pyinstaller cli utils.
- Loading branch information
Showing
6 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.archive_viewer import run | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.bindepend import run | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.build import run | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.grab_version import run | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.make_comserver import run | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /usr/bin/env 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. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
try: | ||
import PyInstaller | ||
except ImportError: | ||
# if importing PyInstaller fails, try to load from parent | ||
# directory to support running without installation. | ||
import imp | ||
import os | ||
# Prevent running as superuser (root). | ||
if not hasattr(os, "getuid") or os.getuid() != 0: | ||
imp.load_module('PyInstaller', *imp.find_module('PyInstaller', | ||
[os.path.dirname(os.path.dirname(os.path.abspath(__file__)))])) | ||
|
||
|
||
if __name__ == '__main__': | ||
from PyInstaller.cliutils.makespec import run | ||
run() |