Skip to content

Commit 121e010

Browse files
committed
change license to Apache-2.0 and update copyright
1 parent 20fde25 commit 121e010

File tree

6 files changed

+289
-297
lines changed

6 files changed

+289
-297
lines changed

LICENSE

Lines changed: 201 additions & 296 deletions
Large diffs are not rendered by default.

README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,21 @@ directives by adding in ``conf.py``:
123123
autodoc_default_options = {
124124
'autosummary': True,
125125
}
126+
127+
128+
Disclaimer
129+
==========
130+
Copyright 2016-2019, Philipp S. Sommer
131+
Copyright 2020-2021, Helmholtz-Zentrum Hereon
132+
133+
Licensed under the Apache License, Version 2.0 (the "License");
134+
you may not use this file except in compliance with the License.
135+
You may obtain a copy of the License at
136+
137+
http://www.apache.org/licenses/LICENSE-2.0
138+
139+
Unless required by applicable law or agreed to in writing, software
140+
distributed under the License is distributed on an "AS IS" BASIS,
141+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
142+
See the License for the specific language governing permissions and
143+
limitations under the License.

autodocsumm/__init__.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,38 @@
66
77
This extension gives also the possibility to choose which data shall be shown
88
and to include the docstring of the ``'__call__'`` attribute.
9+
10+
**Disclaimer**
11+
12+
Copyright 2016-2019, Philipp S. Sommer
13+
Copyright 2020-2021, Helmholtz-Zentrum Hereon
14+
15+
Licensed under the Apache License, Version 2.0 (the "License");
16+
you may not use this file except in compliance with the License.
17+
You may obtain a copy of the License at
18+
19+
http://www.apache.org/licenses/LICENSE-2.0
20+
21+
Unless required by applicable law or agreed to in writing, software
22+
distributed under the License is distributed on an "AS IS" BASIS,
23+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
See the License for the specific language governing permissions and
25+
limitations under the License.
926
"""
27+
28+
__author__ = "Philipp S. Sommer"
29+
__copyright__ = (
30+
"2016 - 2019, Philipp S. Sommer\n"
31+
"2020 - 2021, Helmholtz-Zentrum Hereon"
32+
)
33+
__credits__ = ["Philipp S. Sommer"]
34+
__license__ = "Apache-2.0"
35+
36+
__maintainer__ = "Philipp S. Sommer"
37+
__email__ = "[email protected]"
38+
39+
__status__ = "Production"
40+
1041
from itertools import chain
1142

1243
from sphinx.util import logging

docs/index.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,25 @@ directives by adding:
141141
}
142142
143143
144+
Disclaimer
145+
==========
146+
Copyright 2016-2019, Philipp S. Sommer
147+
Copyright 2020-2021, Helmholtz-Zentrum Hereon
148+
149+
Licensed under the Apache License, Version 2.0 (the "License");
150+
you may not use this file except in compliance with the License.
151+
You may obtain a copy of the License at
152+
153+
http://www.apache.org/licenses/LICENSE-2.0
154+
155+
Unless required by applicable law or agreed to in writing, software
156+
distributed under the License is distributed on an "AS IS" BASIS,
157+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
158+
See the License for the specific language governing permissions and
159+
limitations under the License.
160+
161+
162+
144163
Indices and tables
145164
==================
146165

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def readme():
3333
url='https://github.com/Chilipp/autodocsumm',
3434
author='Philipp S. Sommer',
3535
author_email='[email protected]',
36-
license="GPLv2",
36+
license="Apache-2.0",
3737
packages=find_packages(exclude=['docs', 'tests*', 'examples']),
3838
install_requires=[
3939
'Sphinx>=2.2.*',

tests/test_autodocsumm.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
"""Test module for autodocsumm.
2+
3+
**Disclaimer**
4+
5+
Copyright 2016-2019, Philipp S. Sommer
6+
Copyright 2020-2021, Helmholtz-Zentrum Hereon
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
"""
120
import sys
221
import re
322
import os.path as osp

0 commit comments

Comments
 (0)