Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ccc97b3

Browse files
committed
DOC: Update inline licenses [f2py]
Closes gh-25137
1 parent 605e345 commit ccc97b3

14 files changed

+48
-72
lines changed

numpy/f2py/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/usr/bin/env python3
22
"""Fortran to Python Interface Generator.
33
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
6+
Permission to use, modify, and distribute this software is given under the terms
7+
of the NumPy License.
8+
9+
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
410
"""
511
__all__ = ['run_main', 'compile', 'get_include']
612

numpy/f2py/_isocbind.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
"""
2+
ISO_C_BINDING maps for f2py2e.
3+
Only required declarations/macros/functions will be used.
4+
5+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
6+
Copyright 2011 -- present NumPy Developers.
7+
Permission to use, modify, and distribute this software is given under the
8+
terms of the NumPy License.
9+
10+
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
11+
"""
112
iso_c_binding_map = {
213
'integer': {
314
'c_int': 'int',

numpy/f2py/auxfuncs.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
#!/usr/bin/env python3
21
"""
3-
42
Auxiliary functions for f2py2e.
53
6-
Copyright 1999,2000 Pearu Peterson all rights reserved,
7-
Pearu Peterson <[email protected]>
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
86
Permission to use, modify, and distribute this software is given under the
97
terms of the NumPy (BSD style) LICENSE.
108
11-
129
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
13-
$Date: 2005/07/24 19:01:55 $
14-
Pearu Peterson
15-
1610
"""
1711
import pprint
1812
import sys

numpy/f2py/capi_maps.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
#!/usr/bin/env python3
21
"""
3-
4-
Copyright 1999,2000 Pearu Peterson all rights reserved,
5-
Pearu Peterson <[email protected]>
2+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
3+
Copyright 2011 -- present NumPy Developers.
64
Permission to use, modify, and distribute this software is given under the
75
terms of the NumPy License.
86
97
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
10-
$Date: 2005/05/06 10:57:33 $
11-
Pearu Peterson
12-
138
"""
149
from . import __version__
1510
f2py_version = __version__.version

numpy/f2py/cb_rules.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
#!/usr/bin/env python3
21
"""
3-
42
Build call-back mechanism for f2py2e.
53
6-
Copyright 2000 Pearu Peterson all rights reserved,
7-
Pearu Peterson <[email protected]>
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
86
Permission to use, modify, and distribute this software is given under the
97
terms of the NumPy License.
108
119
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
12-
$Date: 2005/07/20 11:27:58 $
13-
Pearu Peterson
14-
1510
"""
1611
from . import __version__
1712
from .auxfuncs import (

numpy/f2py/cfuncs.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
#!/usr/bin/env python3
22
"""
3-
43
C declarations, CPP macros, and C functions for f2py2e.
54
Only required declarations/macros/functions will be used.
65
7-
Copyright 1999,2000 Pearu Peterson all rights reserved,
8-
Pearu Peterson <[email protected]>
6+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
7+
Copyright 2011 -- present NumPy Developers.
98
Permission to use, modify, and distribute this software is given under the
109
terms of the NumPy License.
1110
1211
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
13-
$Date: 2005/05/06 11:42:34 $
14-
Pearu Peterson
15-
1612
"""
1713
import sys
1814
import copy

numpy/f2py/common_rules.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
#!/usr/bin/env python3
21
"""
3-
42
Build common block mechanism for f2py2e.
53
6-
Copyright 2000 Pearu Peterson all rights reserved,
7-
Pearu Peterson <[email protected]>
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
86
Permission to use, modify, and distribute this software is given under the
97
terms of the NumPy License
108
119
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
12-
$Date: 2005/05/06 10:57:33 $
13-
Pearu Peterson
14-
1510
"""
1611
from . import __version__
1712
f2py_version = __version__.version

numpy/f2py/crackfortran.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
"""
33
crackfortran --- read fortran (77,90) code and extract declaration information.
44
5-
Copyright 1999-2004 Pearu Peterson all rights reserved,
6-
Pearu Peterson <[email protected]>
5+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
6+
Copyright 2011 -- present NumPy Developers.
77
Permission to use, modify, and distribute this software is given under the
88
terms of the NumPy License.
99
1010
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
11-
$Date: 2005/09/27 07:13:49 $
12-
Pearu Peterson
1311
1412
1513
Usage of crackfortran:

numpy/f2py/f2py2e.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44
f2py2e - Fortran to Python C/API generator. 2nd Edition.
55
See __usage__ below.
66
7-
Copyright 1999--2011 Pearu Peterson all rights reserved,
8-
Pearu Peterson <[email protected]>
7+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
8+
Copyright 2011 -- present NumPy Developers.
99
Permission to use, modify, and distribute this software is given under the
1010
terms of the NumPy License.
1111
1212
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
13-
$Date: 2005/05/06 08:31:19 $
14-
Pearu Peterson
15-
1613
"""
1714
import sys
1815
import os
@@ -185,7 +182,8 @@
185182
Version: {f2py_version}
186183
numpy Version: {numpy_version}
187184
License: NumPy license (see LICENSE.txt in the NumPy source code)
188-
Copyright 1999 - 2011 Pearu Peterson all rights reserved.
185+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
186+
Copyright 2011 -- present NumPy Developers.
189187
https://web.archive.org/web/20140822061353/http://cens.ioc.ee/projects/f2py2e"""
190188

191189

numpy/f2py/f90mod_rules.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
#!/usr/bin/env python3
21
"""
3-
42
Build F90 module support for f2py2e.
53
6-
Copyright 2000 Pearu Peterson all rights reserved,
7-
Pearu Peterson <[email protected]>
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
86
Permission to use, modify, and distribute this software is given under the
97
terms of the NumPy License.
108
119
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
12-
$Date: 2005/02/03 19:30:23 $
13-
Pearu Peterson
14-
1510
"""
1611
__version__ = "$Revision: 1.27 $"[10:-1]
1712

numpy/f2py/func2subr.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
#!/usr/bin/env python3
21
"""
32
43
Rules for building C/API module with f2py2e.
54
6-
Copyright 1999,2000 Pearu Peterson all rights reserved,
7-
Pearu Peterson <[email protected]>
5+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
6+
Copyright 2011 -- present NumPy Developers.
87
Permission to use, modify, and distribute this software is given under the
98
terms of the NumPy License.
109
1110
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
12-
$Date: 2004/11/26 11:13:06 $
13-
Pearu Peterson
14-
1511
"""
1612
import copy
1713

numpy/f2py/rules.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,12 @@
4040
4141
return buildvalue
4242
43-
Copyright 1999,2000 Pearu Peterson all rights reserved,
44-
Pearu Peterson <[email protected]>
43+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
44+
Copyright 2011 -- present NumPy Developers.
4545
Permission to use, modify, and distribute this software is given under the
4646
terms of the NumPy License.
4747
4848
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
49-
$Date: 2005/08/30 08:58:42 $
50-
Pearu Peterson
51-
5249
"""
5350
import os, sys
5451
import time

numpy/f2py/symbolic.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
33
References:
44
- J3/21-007: Draft Fortran 202x. https://j3-fortran.org/doc/year/21/21-007.pdf
5+
6+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
7+
Copyright 2011 -- present NumPy Developers.
8+
Permission to use, modify, and distribute this software is given under the
9+
terms of the NumPy License.
10+
11+
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
512
"""
613

714
# To analyze Fortran expressions to solve dimensions specifications,

numpy/f2py/use_rules.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
#!/usr/bin/env python3
21
"""
3-
42
Build 'use others module data' mechanism for f2py2e.
53
6-
Unfinished.
7-
8-
Copyright 2000 Pearu Peterson all rights reserved,
9-
Pearu Peterson <[email protected]>
4+
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
5+
Copyright 2011 -- present NumPy Developers.
106
Permission to use, modify, and distribute this software is given under the
117
terms of the NumPy License.
128
139
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
14-
$Date: 2000/09/10 12:35:43 $
15-
Pearu Peterson
16-
1710
"""
1811
__version__ = "$Revision: 1.3 $"[10:-1]
1912

0 commit comments

Comments
 (0)