Pyinstaller依赖项的许可证 [英] Licenses for dependencies with Pyinstaller

查看:18
本文介绍了Pyinstaller依赖项的许可证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用Python编写的应用程序,它与Pyinstaller打包在一起。

根据我的理解(我不是律师)和PyinstallerFAQ捆绑源代码并使用我自己的许可证分发似乎是可以的(第1点和第2点)。我不打算以任何方式修改Pyinstaller源代码,所以我不认为这里有任何问题(与Pyinstaller GPL许可证有关,第4点和第5点)。

我的问题具体是关于我的依赖项,而不是标准库。pip list为我的虚拟环境提供

(venv) pip list
Package        Version
-------------- ---------
altgraph       0.16.1
colorama       0.4.1
et-xmlfile     1.0.1
future         0.18.2
jdcal          1.4.1
nose           1.3.7
numpy          1.17.4
openpyxl       3.0.0
pefile         2019.4.18
Pillow         7.0.0
pip            19.0.3
PyInstaller    3.5
pywin32-ctypes 0.2.0
setuptools     40.8.0

以numpy为例pip show numpy

(venv) pip show numpy
Name: numpy
Version: 1.17.4
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: c:dev	oolvenvlibsite-packages
Requires:
Required-by:

如果我查看BSD许可文件

    * Redistributions in binary form must reproduce the above
       copyright notice, this list of conditions and the following
       disclaimer in the documentation and/or other materials provided
       with the distribution.
这是否意味着我需要复制numpyLICENSE.txt文件,并将其与我的分布式应用程序一起分发(对于所有其他依赖项也是如此)?此示例是否构成二进制形式的重新分发?,还是我误解了此处的含义?

似乎任何具有多个依赖项的项目(即使用Pyinstaller)都有一个非常大的任务来控制这些依赖项,因此这让我怀疑我是否正确理解了这些概念。

推荐答案

是的,这就是它的意思。这就是为什么您的汽车、电视等在菜单中的某个位置有"开源许可证"视图的原因。

在相关笔记中,我编写了a tool, license-grep,它生成各种语言的项目使用的各种许可证的整理列表。

这篇关于Pyinstaller依赖项的许可证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆