Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What license does the source code using PyWin32 apply? #1646

Closed
MKdays opened this issue Jan 3, 2021 · 5 comments
Closed

What license does the source code using PyWin32 apply? #1646

MKdays opened this issue Jan 3, 2021 · 5 comments

Comments

@MKdays
Copy link

MKdays commented Jan 3, 2021

First of all, I'm sorry that I didn't use the issue template because it's out of the case.
I found 6 license documents in the repo.

https://github.com/mhammond/pywin32/blob/master/com/License.txt
https://github.com/mhammond/pywin32/blob/master/win32/License.txt
https://github.com/mhammond/pywin32/blob/master/adodbapi/license.txt
https://github.com/mhammond/pywin32/blob/master/Pythonwin/License.txt
https://github.com/mhammond/pywin32/blob/master/Pythonwin/Scintilla/License.txt
https://github.com/mhammond/pywin32/blob/master/com/win32comext/mapi/src/mapi_stub_library/LICENSE

But when I looked at each of them, except for one license document, I thought it was BSD or MIT.

  1. If the app I deploy uses the pywin32 library, should all six copies of the license be included?
  2. If so, should LGPL2.1 apply to all source codes that use the pywin32 library in accordance with the LGPL2.1 license rules?
  3. Or do I simply apply PSF-2.0?

The library I used is below.

from win32api import GetCursorPos
import win32com.client
import win32gui
import win32con
import pythoncom
@mhammond
Copy link
Owner

mhammond commented Jan 5, 2021

I really need to update most of this license files, but that means I probably need to track down old contributors, which sounds like a PITA and might fail. My intent is that PSF 2.0 be used, so I'm fine with you assuming that intent.

@mhammond mhammond closed this as completed Jan 5, 2021
@MKdays
Copy link
Author

MKdays commented Jan 5, 2021

@mhammond

This is the limit of the information I can find out. The copyright holder is missing in adodbapi's case.

pywin32
https://github.com/mhammond/pywin32
Copyright (c) 1994-2008, Mark Hammond
PSF-2.0 License

pywin32/com
https://github.com/mhammond
Copyright (c) 1996-2008, Greg Stein and Mark Hammond

pywin32/win32
https://github.com/mhammond
Copyright (c) 1994-2008, Mark Hammond

pywin32/adodbapi
http://sourceforge.net/projects/adodbapi
LGPLv2.1 License

pywin32/Pythonwin/
https://github.com/mhammond
Copyright (c) 1994-2008, Mark Hammond

pywin32/Pythonwin/Scintilla
Copyright 1998-2003 by Neil Hodgson
neilh@scintilla.org

pywin32/com/win32comext/mapi/src/mapi_stub_library
Copyright (c) 2018 Microsoft
MIT License

@vernondcole
Copy link
Collaborator

vernondcole commented Jan 5, 2021 via email

@mhammond
Copy link
Owner

mhammond commented Jan 5, 2021

This is the limit of the information I can find out. The copyright holder is missing in adodbapi's case.

Anyone who contributed is a copyright holder.

@MKdays
Copy link
Author

MKdays commented Jan 12, 2021

My concern is that the license for the adodbapi module is LGPL V2.1,
and the works using this module should be subject to LGPL V2.1 or GPL 2.0 or 3.0 in accordance with Section 3 of LGPL 2.1.
This is because the main use of GUI framework PySide2 is LGPL V3.0, which requires consideration of license compatibility.

I have summarized the table below, and even if I use pywin32 it looks free from LGPL V2.1 if I don't use adodbapi.

  • The following table summarizes the path and license file presence according to import module.
    In some cases, license files are missing from Local.
module/package Path License File License Preview License URL
isapi site-packages\isapi O Copyright 2002-2003 by Blackdog Software Pty Ltd. https://github.com/mhammond/pywin32/blob/master/isapi/README.txt
adodbapi site-packages\adodbapi O LGPL V2.1 https://github.com/mhammond/pywin32/blob/master/adodbapi/license.txt
pythonwin site-packages\pythonwin O Copyright (c) 1994-2008, Mark Hammond https://github.com/mhammond/pywin32/blob/master/Pythonwin/License.txt
pythonwin site-packages\pythonwin X Copyright 1998-2003 by Neil Hodgson neilh@scintilla.org https://github.com/mhammond/pywin32/blob/master/Pythonwin/Scintilla/License.txt
win32comext site-packages\win32comext X MIT License Copyright (c) 2018 Microsoft https://github.com/mhammond/pywin32/blob/master/com/win32comext/mapi/src/mapi_stub_library/LICENSE
win32com site-packages\win32com O Copyright (c) 1996-2008, Greg Stein and Mark Hammond. https://github.com/mhammond/pywin32/blob/master/com/License.txt
win32 site-packages\win32 O Copyright (c) 1994-2008, Mark Hammond https://github.com/mhammond/pywin32/blob/master/win32/License.txt
win32api site-packages\win32\win32api.pyd O
win32gui site-packages\win32\win32gui.pyd O
win32con site-packages\win32\lib\win32con.py O
pythoncom site-packages\pywin32_system32\pythoncom39.dll      
pywintypes site-packages\pywin32_system32\pywintypes39.dll      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants