资源简介
python numpy 库,直接解压安装就行,这个是编译好的,不需要VC的库。
![](http://www.nz998.com/pic/43177.jpg)
代码片段和文件信息
#!/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+ selenium教程
- PycURL(Windows7/Win32)Python2.7安装包 P
- 英文原版-Scientific Computing with Python
- 7.图像风格迁移 基于深度学习 pyt
- 基于Python的学生管理系统
- A Byte of Python(简明Python教程)(第
- Python实例174946
- Python 人脸识别
- Python 人事管理系统
- 基于python-flask的个人博客系统
- 计算机视觉应用开发流程
- python 调用sftp断点续传文件
- python socket游戏
- 基于Python爬虫爬取天气预报信息
- python函数编程和讲解
- Python开发的个人博客
- 基于python的三层神经网络模型搭建
- python实现自动操作windows应用
- python人脸识别(opencv)
- python 绘图(方形、线条、圆形)
- python疫情卡UN管控
- python 连连看小游戏源码
- 基于PyQt5的视频播放器设计
- 一个简单的python爬虫
- csv文件行列转换python实现代码
- Python操作Mysql教程手册
- Python Machine Learning Case Studies
- python获取硬件信息
- 量化交易(附python常见函数的使用方
- python 名字用字排行
评论
共有 条评论