1 Star 1 Fork 3

张小农 / 某扫描器核心反编译

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
PyInstaller.py 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
张小农 提交于 2019-03-21 13:47 . first code
# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: site-packages\PyInstaller\__init__.py
__all__ = ("HOMEPATH", "PLATFORM", "__version__")
import os, sys
from . import compat
from .compat import is_darwin, is_win, is_cygwin, is_py2, is_linux
from .utils.git import get_repo_revision
__version__ = "3.3.1"
PACKAGEPATH = os.path.abspath(os.path.dirname(__file__))
HOMEPATH = os.path.dirname(PACKAGEPATH)
if is_win:
if is_py2:
pass
try:
unicode(HOMEPATH)
except UnicodeDecodeError:
try:
HOMEPATH = compat.win32api.GetShortPathName(HOMEPATH)
except ImportError:
pass
if os.path.exists(os.path.join(HOMEPATH, "setup.py")):
if compat.getenv("PYINSTALLER_DO_RELEASE") == "1":
pass
else:
if "sdist" not in sys.argv:
try:
__version__ += get_repo_revision()
except Exception:
sys.stderr.write("WARN: failed to parse git revision")
else:
import pkg_resources
__version__ = pkg_resources.get_distribution("PyInstaller").version
DEFAULT_SPECPATH = compat.getcwd()
DEFAULT_DISTPATH = os.path.join(compat.getcwd(), "dist")
DEFAULT_WORKPATH = os.path.join(compat.getcwd(), "build")
PLATFORM = compat.system() + "-" + compat.architecture()
if compat.machine():
PLATFORM += "-" + compat.machine()
Python
1
https://gitee.com/zhanghk668/opsrv_extracted.git
git@gitee.com:zhanghk668/opsrv_extracted.git
zhanghk668
opsrv_extracted
某扫描器核心反编译
master

搜索帮助