1 Star 0 Fork 1

张益达 / simple-python-pyinstaller-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

simple-python-pyinstaller-app

This repository is for the Build a Python app with PyInstaller tutorial in the Jenkins User Documentation.

The repository contains a simple Python application which is a command line tool "add2vals" that outputs the addition of two values. If at least one of the values is a string, "add2vals" treats both values as a string and instead concatenates the values. The "add2" function in the "calc" library (which "add2vals" imports) is accompanied by a set of unit tests. These are tested with pytest to check that this function works as expected and the results are saved to a JUnit XML report.

The delivery of the "add2vals" tool through PyInstaller converts this tool into a standalone executable file for Linux, which you can download through Jenkins and execute at the command line on Linux machines without Python.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial.

空文件

简介

simple-python-pyinstaller-app from https://github.com/jenkins-docs/simple-python-pyinstaller-app.git 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/y1chuMJ/simple-python-pyinstaller-app.git
git@gitee.com:y1chuMJ/simple-python-pyinstaller-app.git
y1chuMJ
simple-python-pyinstaller-app
simple-python-pyinstaller-app
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891