2 Star 1 Fork 2

开源小组 / 金智教育工时助手

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fixInstaller.py 447 Bytes
一键复制 编辑 原始数据 按行查看 历史
01116284 提交于 2020-06-13 13:05 . 优化
# -*- coding: utf-8 -*-
import os
env_dist = os.environ
# 拷贝pyinstaller补丁 pyinsataller 3.4
print("copy patch")
from backend.util import fileUtil
env_dist_get = env_dist.get('VIRTUAL_ENV')
if env_dist_get is None:
env_dist_get = env_dist.get('PYTHONPATH')
print(env_dist_get)
fileUtil.copy_dir(fileUtil.getRootPath() + os.sep + "backend" + os.sep + "ext",
env_dist_get + os.sep + 'Lib' + os.sep + 'site-packages')
Python
1
https://gitee.com/luanhaoyu/work_hour_fill.git
git@gitee.com:luanhaoyu/work_hour_fill.git
luanhaoyu
work_hour_fill
金智教育工时助手
webview

搜索帮助

53164aa7 5694891 3bd8fe86 5694891