KKobuszewski / optimcut

Simple library to optimize leftovers from cutting slices from longer material pieces (single dimension).
MIT License
0 stars 0 forks source link

Licensing issues #6

Open KKobuszewski opened 5 months ago

KKobuszewski commented 5 months ago

License for this repository (prototype)

Proposal: prototype under MIT License (that can be freely shown to other by the author), working solution with different commercial-only license.

MIT License

You can use, modify, and distribute the software in a commercial product without any restrictions. However, you must include the original copyright notice and disclaimers.

See memgraph.com/blog/what-is-mit-license.

Software for compilation / creation of executable

Pyinstaller license

PyInstaller is distributed under a dual-licensing scheme using both the GPL 2.0 License, with an exception that allows you to use it to build commercial products.

They claim 'You may use PyInstaller to bundle commercial applications out of your source code.'

Moreover docker files from docker-pyinstaller are also distributed under MIT license,

GCC & MinGW-w64

License GPL or compatible.

https://www.quora.com/Can-I-make-commercial-software-with-GNU-C++-If-not-which-compiler-can-I-use

Could be used until GPL libraries/codes are not linked with the program.

Same with text editors and MinGW.

Python

https://www.python.org/doc/copyright/ - should be OK

Docker

Docker Personal is free and makes Docker accessible to individuals, students, educators, non-profit organizations, and small businesses* through a full-functioned subscription offering.

https://www.docker.com/products/personal/

*Docker Desktop is free to use, as part of the Docker Personal subscription, for individuals, non-commercial open source developers, students and educators, and small businesses of less than 250 employees AND less than $10 million in revenue. Commercial use of Docker Desktop at a company of more than 250 employees OR more than $10 million in annual revenue requires a paid subscription (Pro, Team, or Business) to use Docker Desktop. While the effective date of these terms is August 31, 2021, there is a grace period until January 31, 2022 for those that require a paid subscription to use Docker Desktop.

Incompatible

py2exe

NOTE: Better not to use, due to license issues

https://github.com/py2exe/py2exe/blob/master/LICENSE.txt

Mostly on MIT license, which is ok for commercial. However, some files are licensed under the Mozilla Public License Version 2.0, see MPL2-License.txt that should be compatible with GPL license. The GPL is clear in requiring that all derivative works of code under the GPL must themselves be under the GPL (see on wiki).

On polish wikipedia they claim: 'Według Free Software Foundation, kod źródłowy udostępniony na licencji MPL 2.0 jest kompatybilny z licencją GPL.'

KKobuszewski commented 5 months ago

Numerical libraries

--GSL library--

https://www.gnu.org/software/gsl/

GPL license - cannot be statically linked with executable for commercial use.

better aviod usage

Currently GSL is used for quasi-random numbers useful in Monte Carlo methods - while I used GSL, whole software should be on GPL license and shouldn't be used for commercial purpose.

Quasi-random numbers

One can use https://github.com/KRM7/quasi-random (MIT License).

See also https://extremelearning.com.au/unreasonable-effectiveness-of-quasirandom-sequences/.

Numpy

https://afdataschool.github.io/numpy/LICENSE.html

KKobuszewski commented 5 months ago

Graphic User Interface

C++ & Python / imgui

https://github.com/ocornut/imgui

https://github.com/hoffstadt/DearPyGui

MIT License

Python / PyGUI

MIT License

wxWidgets (for C++)

https://www.wxwidgets.org/about/licence/

The wxWindows Library Licence is essentially the L-GPL (Library General Public Licence), with an exception stating that derived works in binary form may be distributed on the user’s own terms.