资源简介
python numpy 库,直接解压安装就行,这个是编译好的,不需要VC的库。
代码片段和文件信息
#!/usr/bin/env python
“““
runtests.py [OPTIONS] [-- ARGS]
Run tests building the project first.
Examples::
$ python runtests.py
$ python runtests.py -s {SAMPLE_SUBMODULE}
$ python runtests.py -t {SAMPLE_TEST}
$ python runtests.py --ipython
$ python runtests.py --python somescript.py
$ python runtests.py --bench
$ python runtests.py --durations 20
Run a debugger:
$ gdb --args python runtests.py [...other args...]
Generate C code coverage listing under build/lcov/:
(requires http://ltp.sourceforge.net/coverage/lcov.php)
$ python runtests.py --gcov [...other args...]
$ python runtests.py --lcov-html
“““
from __future__ import division print_function
#
# This is a generic test runner script for projects using NumPy‘s test
# framework. Change the following values to adapt to your project:
#
PROJECT_MODULE = “numpy“
PROJECT_ROOT_FILES = [‘numpy‘ ‘LICENSE.txt‘ ‘setup.py‘]
SAMPLE_TEST = “numpy/linalg/tests/test_linalg.py::test_byteorder_check“
SAMPLE_SUBMODULE = “linalg“
EXTRA_PATH = [‘/usr/lib/ccache‘ ‘/usr/lib/f90cache‘
‘/usr/local/lib/ccache‘ ‘/usr/local/lib/f90cache‘]
# ---------------------------------------------------------------------
if __doc__ is None:
__doc__ = “Run without -OO if you want usage info“
else:
__doc__ = __doc__.format(**globals())
import sys
import os
# In case we are run from the source directory we don‘t want to import the
# project from there:
sys.path.pop(0)
import shutil
import subprocess
import time
from argparse import ArgumentParser REMAINDER
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))
def main(argv):
parser = ArgumentParser(usage=__doc__.lstrip())
parser.add_argument(“--verbose“ “-v“ action=“count“ default=1
help=“more verbosity“)
parser.add_argument(“--no-build“ “-n“ action=“store_true“ default=False
help=“do not build the project (use system installed version)“)
parser.add_argument(“--build-only“ “-b“ action=“store_true“ default=False
help=“just build do not run any tests“)
parser.add_argument(“--doctests“ action=“store_true“ default=False
help=“Run doctests in module“)
#parser.add_argument(“--refguide-check“ action=“store_true“ default=False
#help=“Run refguide check (do not run regular tests.)“)
parser.add_argument(“--coverage“ action=“store_true“ default=False
help=(“report coverage of project code. HTML output goes “
“under build/coverage“))
parser.add_argument(“--durations“ action=“store“ default=-1 type=int
help=(“Time N slowest tests time all if 0 time none if < 0“))
parser.add_argument(“--gcov“ action=“store_true“ default=False
help=(“enable C code coverage via gcov (requires GCC). “
“
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-05-27 14:16 numpy-1.16.4\
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\
目录 0 2019-05-27 14:16 numpy-1.16.4\benchmarks\
目录 0 2019-05-27 14:16 numpy-1.16.4\doc\
目录 0 2019-05-27 14:16 numpy-1.16.4\numpy\
文件 17586 2019-05-27 12:41 numpy-1.16.4\runtests.py
文件 3251 2018-02-28 17:03 numpy-1.16.4\THANKS.txt
文件 14767 2019-05-27 14:06 numpy-1.16.4\setup.py
文件 5525 2019-05-27 12:41 numpy-1.16.4\INSTALL.rst.txt
文件 2072 2019-05-27 14:16 numpy-1.16.4\PKG-INFO
文件 9210 2019-05-27 12:41 numpy-1.16.4\site.cfg.example
文件 1563 2019-05-27 12:41 numpy-1.16.4\MANIFEST.in
文件 1599 2019-02-21 17:33 numpy-1.16.4\tox.ini
文件 40 2019-02-21 17:33 numpy-1.16.4\.coveragerc
文件 2321 2019-05-27 12:41 numpy-1.16.4\LICENSE.txt
文件 1026 2019-05-27 12:41 numpy-1.16.4\pytest.ini
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\ci\
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\swig\
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\allocation_tracking\
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\npy_tempita\
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\c_coverage\
文件 4408 2019-02-21 17:33 numpy-1.16.4\tools\changelog.py
文件 2474 2019-05-27 12:41 numpy-1.16.4\tools\test-installed-numpy.py
文件 794 2019-01-31 19:27 numpy-1.16.4\tools\commitstats.py
文件 5741 2018-02-28 17:03 numpy-1.16.4\tools\replace_old_macros.sed
文件 2091 2019-02-21 17:33 numpy-1.16.4\tools\find_deprecated_escaped_characters.py
文件 7200 2019-02-21 17:33 numpy-1.16.4\tools\cythonize.py
文件 351 2019-02-21 17:33 numpy-1.16.4\tools\travis-upload-wheel.sh
文件 7583 2019-05-27 12:41 numpy-1.16.4\tools\travis-test.sh
文件 524 2019-05-27 12:41 numpy-1.16.4\tools\travis-before-install.sh
目录 0 2019-05-27 14:16 numpy-1.16.4\tools\ci\appveyor\
............此处省略1219个文件信息
相关资源
- python for eclipse
- Python程序设计第3版- John M. Zelle 课件资
- Web Scraping with Python_Collecting Data from
- python TensorFlow 官方文档中文版
- Python3.6 中文文档.pdf
- 树莓派Python编程指南34705
- python项目源码
- Packt-Web.Scraping.with.Python.Richard Lawson
- Python编程实战:运用设计模式、并发
- 深入理解Python中文版.pdf
- QT5 Python GUI Programming Cookbook (2018)
- Hands-On Unsupervised Learning Using Python ep
- Jason Brownlee - Deep Learning with Python 高清
- Jason Brownlee - Machine learning Mastery with
- python27_d.dll
- python 情感分析 语料
- 上海交通大学Python课件ppt
-
树莓派人脸识别python代码及xm
l模型 - Python for Everybody
- CS61A SICP with Python 中文版
- 廖雪峰Python教程[完整版].pdf
- python3.6+Django2.0 图书管理系统
- Python基础教程第3版.pdf
- python-pygame消消乐
- Python物理学高效计算
- 基于 CNN 的疲劳检测源码-Python
- python爬取王者荣耀信息.zip
- 基于Python+mysql的新闻网站的实现
- Python基础教程第3版)_袁国忠译
- Selenium自动化框架,python实现
评论
共有 条评论