Skip to content

Commit c9c7cc2

Browse files
committed
Added license for examples and missing MIT in setup.py (following Issue #15)
1 parent 2f0e855 commit c9c7cc2

18 files changed

+139
-14
lines changed

LICENSE

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ Independent Python modules purely based on new code (no contamination from the
1313
LGPL license inherited from the Qwt Project) are distributed under the terms
1414
of the MIT License (see [*] and [**]).
1515

16+
[3] Software licensed under the terms of PyQwt License
17+
18+
Some files under the "examples" folder at the root directory of the source
19+
package were derived from PyQwt PyQt4 examples and are thus distributed under
20+
the terms of the GPL License from which the PyQwt License 1.0 is derived from
21+
(see [****] for more details).
22+
1623

1724
[*] python-qwt License Agreement for new and exclusive Python material (MIT)
1825

@@ -619,3 +626,34 @@ necessary. Here is a sample; alter the names:
619626
That's all there is to it!
620627

621628

629+
[****] PyQwt License
630+
631+
Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt code
632+
Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
633+
developments (e.g. ported to python-qwt API)
634+
635+
PyQwt LICENSE
636+
Version 3, March 2006
637+
638+
PyQwt is free software; you can redistribute it and/or modify
639+
it under the terms of the GNU General Public License as published by
640+
the Free Software Foundation; either version 2 of the License, or
641+
(at your option) any later version.
642+
643+
PyQwt is distributed in the hope that it will be useful,
644+
but WITHOUT ANY WARRANTY; without even the implied warranty of
645+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
646+
GNU General Public License for more details.
647+
648+
You should have received a copy of the GNU General Public License along
649+
with PyQwt; if not, write to the Free Software Foundation, Inc.,
650+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
651+
652+
In addition, as a special exception, Gerard Vermeulen gives permission
653+
to link PyQwt dynamically with non-free versions of Qt and PyQt,
654+
and to distribute PyQwt in this form, provided that equally powerful
655+
versions of Qt and PyQt have been released under the terms of the GNU
656+
General Public License.
657+
658+
If PyQwt is dynamically linked with non-free versions of Qt and PyQt,
659+
PyQwt becomes a free plug-in for a non-free program.

README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ python-qwt
2525
Copyright (c) 2009-2013 Pierre Raybaut
2626
Copyright (c) 2013-2015 The Spyder Development Team
2727

28+
Some examples
29+
Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt code
30+
Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and
31+
further developments (e.g. ported to python-qwt API)
32+
2833
License
2934

3035
The `qwt` Python package was partly (>95%) translated from Qwt C++

examples/BodeDemo.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
# The Python version of Qwt-5.1.1/examples/bode
410

examples/CPUplot.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import os
410
import sys

examples/CartesianDemo.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import sys
410
import numpy as np

examples/CurveDemo1.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import sys
410
import numpy as np

examples/CurveDemo2.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
#FIXME: scale issue!
410

examples/DataDemo.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import random
410
import sys

examples/ErrorBarDemo.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import sys
410
import numpy as np

examples/EventFilterDemo.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Licensed under the terms of the PyQwt License
4+
# Copyright (C) 2003-2009 Gerard Vermeulen, for the original PyQwt example
5+
# Copyright (c) 2015 Pierre Raybaut, for the PyQt5/PySide port and further
6+
# developments (e.g. ported to python-qwt API)
7+
# (see LICENSE file for more details)
28

39
import sys
410
import numpy as np

0 commit comments

Comments
 (0)