资源简介
Eric61703中文汉化版.zip
代码片段和文件信息
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2016 - 2017 Detlev Offenbach
#
# This is the install script for the eric6 debug client. It may be used
# to just install the debug clients for remote debugging.
#
“““
Installation script for the eric6 debug clients.
“““
from __future__ import unicode_literals print_function
try:
import cStringIO as io
import sip
sip.setapi(‘QString‘ 2)
sip.setapi(‘QVariant‘ 2)
sip.setapi(‘QTextStream‘ 2)
except (ImportError):
import io # __IGNORE_WARNING__
import sys
import os
import re
import compileall
import shutil
import fnmatch
import distutils.sysconfig
# Define the globals.
progName = None
currDir = os.getcwd()
modDir = None
pyModDir = None
distDir = None
installPackage = “eric6DebugClients“
doCleanup = True
doCompile = True
sourceDir = “eric“
def exit(rcode=0):
“““
Exit the install script.
@param rcode result code to report back (integer)
“““
global currDir
if sys.platform.startswith(“win“):
# different meaning of input between Py2 and Py3
try:
input(“Press enter to continue...“)
except (EOFError SyntaxError):
pass
os.chdir(currDir)
sys.exit(rcode)
def usage(rcode=2):
“““
Display a usage message and exit.
@param rcode the return code passed back to the calling process.
“““
global progName modDir distDir
print()
print(“Usage:“)
if sys.platform == “darwin“:
print(“ {0} [-chz] [-d dir] [-i dir]“.format(progName))
elif sys.platform.startswith(“win“):
print(“ {0} [-chz] [-d dir]“.format(progName))
else:
print(“ {0} [-chz][-d dir] [-i dir]“.format(progName))
print(“where:“)
print(“ -h --help display this help message“)
print(“ -d dir where eric6 debug client files will be installed“)
print(“ (default: {0})“.format(modDir))
if not sys.platform.startswith(“win“):
print(“ -i dir temporary install prefix“)
print(“ (default: {0})“.format(distDir))
print(“ -c don‘t cleanup old installation first“)
print(“ -z don‘t compile the installed python files“)
exit(rcode)
def initGlobals():
“““
Module function to set the values of globals that need more than a
simple assignment.
“““
global modDir pyModDir
modDir = distutils.sysconfig.get_python_lib(True)
pyModDir = modDir
def copyTree(src dst filters excludeDirs=[] excludePatterns=[]):
“““
Copy files of a directory tree.
@param src name of the source directory
@param dst name of the destination directory
@param filters list of filter pattern determining the files to be copied
@param excludeDirs list of (sub)directories to exclude from copying
@keyparam excludePatterns list of filter pattern determining the files to
be skipped
““
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-02 14:31 eric6\
文件 1835926 2017-04-06 13:44 eric6\QScintilla-2.10-5.8.0-cp34.cp35.cp36.cp37-none-win_amd64.whl
目录 0 2017-03-11 19:59 eric6\eric6\
文件 32856 2017-03-11 19:59 eric6\eric6\LICENSE.GPL3
文件 836 2017-03-11 19:59 eric6\eric6\README-i18n.rst
文件 10469 2017-03-11 19:59 eric6\eric6\README.rst
文件 1207 2017-03-11 19:59 eric6\eric6\THANKS
文件 12478 2017-03-11 19:59 eric6\eric6\changelog
目录 0 2017-03-11 19:59 eric6\eric6\eric\
目录 0 2014-04-03 00:56 eric6\eric6\eric\APIs\
目录 0 2012-12-07 03:04 eric6\eric6\eric\APIs\Python\
文件 1644300 2012-12-07 03:04 eric6\eric6\eric\APIs\Python\zope-2.10.7.api
文件 1512656 2012-12-07 03:04 eric6\eric6\eric\APIs\Python\zope-2.11.2.api
文件 1894900 2012-12-07 03:04 eric6\eric6\eric\APIs\Python\zope-3.3.1.api
目录 0 2017-03-04 01:19 eric6\eric6\eric\APIs\Python3\
文件 11657 2014-07-13 20:30 eric6\eric6\eric\APIs\Python3\PyQt4.bas
文件 14707 2014-07-13 19:59 eric6\eric6\eric\APIs\Python3\PyQt5.bas
文件 1138 2014-07-13 18:46 eric6\eric6\eric\APIs\Python3\QScintilla2.bas
文件 863231 2017-03-04 01:38 eric6\eric6\eric\APIs\Python3\eric6.api
文件 34591 2017-03-04 01:38 eric6\eric6\eric\APIs\Python3\eric6.bas
目录 0 2014-04-03 00:56 eric6\eric6\eric\APIs\QSS\
文件 891 2014-04-03 00:56 eric6\eric6\eric\APIs\QSS\qss.api
目录 0 2015-11-09 00:00 eric6\eric6\eric\APIs\Ruby\
文件 124822 2012-12-07 03:04 eric6\eric6\eric\APIs\Ruby\Ruby-1.8.7.api
文件 8920 2012-12-07 03:04 eric6\eric6\eric\APIs\Ruby\Ruby-1.8.7.bas
文件 166424 2012-12-07 03:04 eric6\eric6\eric\APIs\Ruby\Ruby-1.9.1.api
文件 7005 2012-12-07 03:04 eric6\eric6\eric\APIs\Ruby\Ruby-1.9.1.bas
目录 0 2012-12-07 03:04 eric6\eric6\eric\CSSs\
文件 275 2012-12-07 03:04 eric6\eric6\eric\CSSs\blue.css
文件 278 2012-12-07 03:04 eric6\eric6\eric\CSSs\default.css
目录 0 2015-10-09 01:09 eric6\eric6\eric\CodeTemplates\
............此处省略4133个文件信息
相关资源
- 矩阵分析与应用课件_张贤达_清华课件
- 百度云(1).zip
- 王红梅.rar
- 周志华机器学习.zip
- 榆落微时光1.0.39小程序前端.zip
- 智慧答题-崛企5.1.2.zip
- 信号检测与估计理论清华大学版本.
- 计算机组成原理(第2版)-唐朔飞.p
- qq_28971045_10491491.zip
- 图论及其应用课后答案[1-12章].pdf
- 微擎商业版框架2.0.4去授权一键安装源
- zhajinhuaTutorial-master.zip
- wapj.zip
- 5CBBAE958673ABD2DF1E04E7F11794DC.pdf
- SimpleMall.zip
- 康熙字典数据库.rar
- Test2.zip
- FruitShopping.rar
- 迅雷7.2.8.3572去广告优化版VIP6+高速通
- 40-A5-EF-3E-90-AA.bin
- 软件工程.rar
- 给产品经理讲技术-打印版.pdf
- ahakme.zip
- 男神女神投票3.7.3投票工具2.3.5投票排
- 超人名片v1.5.6名片小程序的首选.zip
- 微擎商业版框架v1.8.2.3去授权一键安装
- 微擎步数宝4.2.0前后端开源版.zip
- z5gtif.zip
- qwt-6.1.0最新官方.rar
- [emuch.net]数字通信第四版John_G_Proakis
评论
共有 条评论