Skip to content

Commit 79e86aa

Browse files
committed
Change license to GPL. Resolves CellProfiler#3.
The license of python-bioformats as a whole has to be GPL because loci_tools.jar is GPL licensed. The python files remain under the more permissive BSD license.
1 parent 0cc0ba9 commit 79e86aa

16 files changed

+426
-121
lines changed

COPYING

+340
Large diffs are not rendered by default.

README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ GitHub repository: https://github.com/CellProfiler/python-bioformats
1515

1616
Report bugs here: https://github.com/CellProfiler/python-bioformats/issues
1717

18-
python-bioformats is licensed under the BSD license. See the
19-
accompanying file LICENSE for details.
18+
python-bioformats is licensed under the GNU General Public License
19+
(GPL). Many files are licensed under the more permissive BSD license.
20+
See the accompanying files COPYING and LICENSE for details.
2021

2122
Copyright (c) 2009-2014 Broad Institute. All rights reserved.

bioformats/__init__.py

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
'''Bioformats package - wrapper for loci.bioformats java code
2-
3-
CellProfiler is distributed under the GNU General Public License,
4-
but this file is licensed under the more permissive BSD license.
5-
See the accompanying file LICENSE for details.
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
67

7-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
8-
Copyright (c) 2009-2013 Broad Institute
9-
All rights reserved.
10-
11-
Please see the AUTHORS file for credits.
8+
'''Bioformats package - wrapper for loci.bioformats java code
129
13-
Website: http://www.cellprofiler.org
1410
'''
1511
__version__ = "$Revision$"
1612

bioformats/formatreader.py

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
18
'''formatreader.py - mechanism to wrap a bioformats ReaderWrapper and ImageReader
29
310
Example:
@@ -13,17 +20,6 @@
1320
my_red_image, my_green_image, my_blue_image = \
1421
[cs.open_bytes(cs.getIndex(0,i,0)) for i in range(3)]
1522
16-
CellProfiler is distributed under the GNU General Public License,
17-
but this file is licensed under the more permissive BSD license.
18-
See the accompanying file LICENSE for details.
19-
20-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
21-
Copyright (c) 2009-2014 Broad Institute
22-
All rights reserved.
23-
24-
Please see the AUTHORS file for credits.
25-
26-
Website: http://www.cellprofiler.org'
2723
'''
2824

2925
__version__ = "$Revision$"

bioformats/formatwriter.py

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
18
'''formatwriter.py - mechanism to wrap a bioformats WriterWrapper and ImageWriter
29
310
The following file formats can be written using Bio-Formats:
@@ -21,17 +28,6 @@
2128
and is especially useful for formats that do not support multiple images per
2229
file.
2330
24-
CellProfiler is distributed under the GNU General Public License,
25-
but this file is licensed under the more permissive BSD license.
26-
See the accompanying file LICENSE for details.
27-
28-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
29-
Copyright (c) 2009-2014 Broad Institute
30-
All rights reserved.
31-
32-
Please see the AUTHORS file for credits.
33-
34-
Website: http://www.cellprofiler.org
3531
'''
3632

3733
__version__ = "$Revision$"

bioformats/log4j.py

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
18
import unittest
29
import javabridge
310

bioformats/metadatatools.py

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
''' metadatatools.py - mechanism to wrap some bioformats metadata classes
2-
3-
CellProfiler is distributed under the GNU General Public License,
4-
but this file is licensed under the more permissive BSD license.
5-
See the accompanying file LICENSE for details.
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
67

7-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
8-
Copyright (c) 2009-2014 Broad Institute
9-
All rights reserved.
10-
11-
Please see the AUTHORS file for credits.
8+
''' metadatatools.py - mechanism to wrap some bioformats metadata classes
129
13-
Website: http://www.cellprofiler.org
1410
'''
1511

1612
__version__ = "$Revision$"

bioformats/noseplugin.py

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# CellProfiler is distributed under the GNU General Public License.
2-
# See the accompanying file LICENSE for details.
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
34
#
4-
# Copyright (c) 2003-2009 Massachusetts Institute of Technology
5-
# Copyright (c) 2009-2013 Broad Institute
6-
#
7-
# Please see the AUTHORS file for credits.
8-
#
9-
# Website: http://www.cellprofiler.org
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
107

118
import logging
129
from nose.plugins import Plugin

bioformats/omexml.py

+8-13
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
18
"""omexml.py read and write OME xml
29
310
"""
4-
# CellProfiler is distributed under the GNU General Public License.
5-
# See the accompanying file LICENSE for details.
6-
#
7-
# Developed by the Broad Institute
8-
#
9-
# Copyright (c) 2003-2009 Massachusetts Institute of Technology
10-
# Copyright (c) 2003-2013 Broad Institute
11-
# All rights reserved.
12-
#
13-
# Please see the AUTHORS file for credits.
14-
#
15-
# Website: http://www.cellprofiler.org
16-
#
11+
1712
import xml.etree.ElementTree
1813
from xml.etree import cElementTree as ElementTree
1914
from cStringIO import StringIO

bioformats/tests/__init__.py

-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
'''
2-
CellProfiler is distributed under the GNU General Public License,
3-
but this file is licensed under the more permissive BSD license.
4-
See the accompanying file LICENSE for details.
5-
6-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
7-
Copyright (c) 2009-2013 Broad Institute
8-
All rights reserved.
9-
10-
Please see the AUTHORS file for credits.
11-
12-
Website: http://www.cellprofiler.org
13-
'''
14-

bioformats/tests/test_formatreader.py

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
'''test_formatreader.py - test the Bioformats format reader wrapper
2-
3-
CellProfiler is distributed under the GNU General Public License,
4-
but this file is licensed under the more permissive BSD license.
5-
See the accompanying file LICENSE for details.
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
67

7-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
8-
Copyright (c) 2009-2014 Broad Institute
9-
All rights reserved.
10-
11-
Please see the AUTHORS file for credits.
8+
'''test_formatreader.py - test the Bioformats format reader wrapper
129
13-
Website: http://www.cellprofiler.org
1410
'''
1511

1612
import numpy as np

bioformats/tests/test_formatwriter.py

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
'''test_formatwriter.py - test the Bioformats format reader wrapper
2-
3-
CellProfiler is distributed under the GNU General Public License,
4-
but this file is licensed under the more permissive BSD license.
5-
See the accompanying file LICENSE for details.
6-
7-
Copyright (c) 2003-2009 Massachusetts Institute of Technology
8-
Copyright (c) 2009-2014 Broad Institute
9-
All rights reserved.
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
107

11-
Please see the AUTHORS file for credits.
8+
'''test_formatwriter.py - test the Bioformats format reader wrapper
129
13-
Website: http://www.cellprofiler.org
1410
'''
1511

1612
import numpy as np
@@ -75,4 +71,4 @@ def test_02_01_write_movie(self):
7571
for i in range(img.shape[0]):
7672
result = load_using_bioformats(path, t=i, rescale = False)
7773
np.testing.assert_array_equal(img[i], result)
78-
74+

bioformats/tests/test_load_using_bioformats.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#!/usr/bin/env python
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
27

38
import os
49
import unittest

bioformats/tests/test_omexml.py

+9-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
18
"""test_omexml.py read and write OME xml
29
310
"""
4-
# CellProfiler is distributed under the GNU General Public License.
5-
# See the accompanying file LICENSE for details.
6-
#
7-
# Developed by the Broad Institute
8-
#
9-
# Copyright (c) 2003-2009 Massachusetts Institute of Technology
10-
# Copyright (c) 2003-2013 Broad Institute
11-
# All rights reserved.
12-
#
13-
# Please see the AUTHORS file for credits.
14-
#
15-
# Website: http://www.cellprofiler.org
16-
#
11+
1712
import datetime
1813
import os
1914
import unittest
@@ -924,4 +919,4 @@ def test_14_17_set_position_z(self):
924919
</Value>
925920
</XMLAnnotation>
926921
</StructuredAnnotations>
927-
</OME>"""
922+
</OME>"""

docs/index.rst

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Python-bioformats and python-javabridge were developed for and are
1313
used by the cell image analysis software CellProfiler
1414
(cellprofiler.org).
1515

16+
python-bioformats is licensed under the GNU General Public License
17+
(GPL). Many files are licensed under the more permissive BSD license.
18+
1619

1720
Installation and testing
1821
========================

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
url="http://github.com/CellProfiler/python-bioformats/",
1616
packages=['bioformats'],
1717
classifiers=['Development Status :: 5 - Production/Stable',
18-
'License :: OSI Approved :: BSD License',
18+
'License :: OSI Approved :: GPL License',
1919
'Programming Language :: Java',
2020
'Topic :: Scientific/Engineering :: Bio-Informatics',
2121
'Topic :: Multimedia :: Graphics :: Graphics Conversion'
2222
],
23-
license='BSD License',
23+
license='GPL License',
2424
package_data={'bioformats': ['jars/*.jar']},
2525
install_requires=['javabridge>=1.0']
2626
)

0 commit comments

Comments
 (0)