Tests for PyInstaller
=====================
This directory contains tests for PyInstaller:
- ``functional`` directory contains tests where executables are created from Python scripts.
- ``old_suite`` directory contains old structure of tests (TODO migrate all tests to a new structure)
- ``unit`` directory contains simple unit tests
Prerequisites
-------------
In order to run the tests, you will need the following Python packages/libraries installed:
- Mock
- pytest
Running the Tests
-----------------
To run the tests, navigate to the root directory of the PyInstaller project, and then run the following command::
py.test
Or, to speed up test runs by sending tests to multiple CPUs
py.test -n NUM
Or, to run only the unit or functional tests, run the following command::
TODO
Or, to run only a particular test suite within a file, run the
following command::
TODO
Run all tests matching `test_ctypes_CDLL` resp. `ctypes_CDLL`::
py.test -k test_ctypes_CDLL
py.test -k ctypes_CDLL
Run both the onefile and ondir tests for
`test_ctypes_CDLL_find_library__nss_files`::
py.test -k test_ctypes_CDLL_find_library__nss_files
Finally, to only run a particular test, run one of the following
commands::
py.test -k test_ctypes_CDLL_find_library__nss_files[onedir]
py.test -k test_ctypes_CDLL_find_library__nss_files[onefile]
没有合适的资源?快使用搜索试试~ 我知道了~
pyinstaller-pyinstaller-v3.1-12-g5427395.zip
共870个文件
py:576个
txt:54个
toc:28个
5星 · 超过95%的资源 需积分: 18 125 下载量 4 浏览量
2016-01-17
23:09:37
上传
评论 3
收藏 3.1MB ZIP 举报
温馨提示
使用也非常的简单,cmd下进入解压出来的目录,执行如下命令。 python pyinstaller.py [opts] yourprogram.py 主要选项包括: -F, –onefile 打包成一个exe文件。 -D, –onedir 创建一个目录,包含exe文件,但会依赖很多文件(默认选项)。 -c, –console, –nowindowed 使用控制台,无界面(默认) -w, –windowed, –noconsole 使用窗口,无控制台 更详细的使用方法请参考下载包里的doc目录下的Manual.html文件。
资源推荐
资源详情
资源评论
收起资源包目录
pyinstaller-pyinstaller-v3.1-12-g5427395.zip (870个子文件)
pyinstaller.1 7KB
pyi-makespec.1 7KB
clean.bat 66B
inflate.c 52KB
unzip.c 48KB
pyi_utils.c 27KB
pyi_pythonlib.c 20KB
pyi_win32_utils.c 17KB
pyi_launch.c 15KB
pyi_archive.c 13KB
inffast.c 13KB
crc32.c 13KB
inftrees.c 13KB
pyi_path.c 10KB
zutil.c 7KB
pyi_main.c 6KB
adler32.c 5KB
pyi_python.c 5KB
ioapi.c 4KB
pyi_global.c 3KB
main.c 3KB
pyi_python27_compat.c 1KB
ctypes_dylib.c 591B
setup.cfg 1KB
clean 158B
run_with_env.cmd 2KB
docutils.conf 332B
test_requests_openssl.conf 294B
docutils.conf 151B
docutils-man.conf 53B
application_winxp.exe.config 829B
application_win2k3.exe.config 732B
default.css 4KB
rthooks.dat 1KB
eleven.dat 2B
ten.dat 2B
nine.dat 2B
eleven.dat 2B
ten.dat 2B
nine.dat 2B
dynamiclib.dll 3B
dynamiclib.dll 3B
do_prerelease 496B
do_release 314B
dynamiclib.dylib 2B
dynamiclib.dylib 2B
nspkg3_bbb.egg 2KB
nspkg1_bbb.egg 2KB
pyi_egg_zipped.egg 1KB
nspkg3_empty.egg 1KB
nspkg1_empty.egg 1KB
runw_d.exe 136KB
run_d.exe 133KB
runw.exe 131KB
run.exe 130KB
runw_d.exe 127KB
run_d.exe 126KB
runw.exe 123KB
run.exe 122KB
.gitattributes 273B
.gitignore 1KB
.gitignore 119B
zlib.h 86KB
crc32.h 30KB
zconf.h 15KB
unzip.h 13KB
pyi_python.h 9KB
msvc_stdint.h 7KB
zutil.h 7KB
gzguts.h 6KB
inflate.h 6KB
inffixed.h 6KB
pyi_archive.h 5KB
crypt.h 5KB
pyi_global.h 4KB
inftrees.h 3KB
ioapi.h 2KB
pyi_launch.h 2KB
pyi_win32_utils.h 2KB
pyi_path.h 1KB
pyi_utils.h 1KB
pyi_pythonlib.h 996B
resource.h 990B
pyi_python27_compat.h 832B
mkdtemp.h 705B
pyi_main.h 459B
inffast.h 427B
help2rst 3KB
Manual.html 185KB
pyinstaller.html 14KB
pyi-makespec.html 13KB
icon-windowed.icns 108KB
pyi_icon.icns 105KB
icon-console.icns 104KB
icon-windowed.ico 59KB
icon-console.ico 58KB
pyi_icon.ico 55KB
test_pkg_structures.ico 766B
MANIFEST.in 341B
tox.ini 214B
共 870 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- pnqn5202016-08-03挺好用。。。可以使用此工具打包成功,多谢分享。
- 天涯逸尘2017-03-24不错,多谢博主分享。
- YongApple2016-03-17挺好用。。。可以使用此工具打包成功,多谢分享。
lf314127
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于flask和echarts融合交易策略的bitfinex可视化微服务.zip
- 包含了wvp-assist.tar wvp-talk.tar zlmediakit.tar .
- 3r4efgh53wgrf43tw
- 2024新版Java基础从入门到精通全套视频+资料下载
- Spring AI大模型视频教程+ChatGPT视频教程+OpenAI大模型视频教程(资料+视频教程)
- ABB工业机器人教程PDF版本
- 123321123323211
- yolov8实战第八天-pyqt5-yolov8实现车牌识别系统(论文(约7000字)+数据集+完整部署代码+代码使用说明)
- 三相桥式全桥整流电路MATALB Simulink仿真文件
- ABB机器人操作培训文档
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功