Skip to content

Commit 67446ff

Browse files
committed
change copyright year from year range to starting year
1 parent 9cab66c commit 67446ff

16 files changed

+47
-33
lines changed

.gitignore

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
*~
1+
# CMake build and local install directory
22
build/
3-
mkl_random/__pycache__/
4-
mkl_random/tests/__pycache__/
3+
mkl_random.egg-info/
4+
5+
# Byte-compiled / optimized / DLL files
6+
__pycache__/
7+
8+
mkl_random/src/mklrand.c
59
mkl_random/mklrand.cpp
610
mkl_random/mklrand.cpython*.so
7-
mkl_random.egg-info/
11+

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017-2019, Intel Corporation
1+
Copyright (c) 2017, Intel Corporation
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions are met:

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
## ``mkl_random`` -- a NumPy-based Python interface to Intel (R) MKL Random Number Generation functionality
1+
## `mkl_random` -- a NumPy-based Python interface to Intel® oneAPI Math Kernel Library (OneMKL) Random Number Generation functionality
22
[![Conda package using conda-forge](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml/badge.svg)](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml)
33

4-
`mkl_random` has started as Intel (R) Distribution for Python optimizations for NumPy.
4+
`mkl_random` started as a part of Intel® Distribution for Python optimizations to NumPy.
55

66
Per NumPy's community suggestions, voiced in https://github.com/numpy/numpy/pull/8209, it is being released as a
77
stand-alone package.
88

9-
Prebuilt `mkl_random` can be installed into conda environment from Intel's channel:
9+
Prebuilt `mkl_random` can be installed into conda environment from Intel's channel using:
1010

1111
```
1212
conda install -c https://software.repos.intel.com/python/conda mkl_random
@@ -20,7 +20,7 @@ or from conda forge channel:
2020

2121
---
2222

23-
To install mkl_random Pypi package please use following command:
23+
To install `mkl_random` PyPI package please use following command:
2424

2525
```
2626
python -m pip install -i https://software.repos.intel.com/python/pypi --extra-index-url https://pypi.org/simple mkl_random
@@ -38,7 +38,7 @@ Where `<numpy_version>` should be the latest version from https://software.repos
3838

3939
`mkl_random` is not fixed-seed backward compatible drop-in replacement for `numpy.random`, meaning that it implements sampling from the same distributions as `numpy.random`.
4040

41-
For distributions directly supported in Intel (R) Math Kernel Library (MKL), `method` keyword is supported:
41+
For distributions directly supported in Intel® OneMKL, `method` keyword is supported:
4242

4343
```
4444
mkl_random.standard_normal(size=(10**5, 10**3), method='BoxMuller')

docs/source/tutorials.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The package :mod:`mkl_random` is available in `conda <https://docs.conda.io/en/l
2222
2323
$ conda install mkl_random
2424
25-
The package can also be installed via :code:`pip` package manager, either from central Python package index (PyPI) repository, or from index maintained by Intel(R):
25+
The package can also be installed via :code:`pip` package manager, either from central Python package index (PyPI) repository, or from index maintained by Intel®:
2626

2727
.. code-block:: bash
2828
:caption: Install mkl_random using pip from intel channel on Anaconda
@@ -34,7 +34,7 @@ The package can also be installed via :code:`pip` package manager, either from c
3434
3535
$ pip install mkl_random
3636
37-
The :mod:`mkl_random` is also distributed as part of `Intel(R) Distribution for Python* <https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html>`_.
37+
The :mod:`mkl_random` is also distributed as part of `Intel® Distribution for Python* <https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html>`_.
3838

3939
First steps
4040
-----------

mkl_random/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2019, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/_init_helper.py

+21-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
1-
# Copyright 2025 Intel Corporation
1+
# Copyright (c) 2025 Intel Corporation
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
3+
# Redistribution and use in source and binary forms, with or without
4+
# modification, are permitted provided that the following conditions are met:
65
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
6+
# * Redistributions of source code must retain the above copyright notice,
7+
# this list of conditions and the following disclaimer.
8+
# * Redistributions in binary form must reproduce the above copyright
9+
# notice, this list of conditions and the following disclaimer in the
10+
# documentation and/or other materials provided with the distribution.
11+
# * Neither the name of Intel Corporation nor the names of its contributors
12+
# may be used to endorse or promote products derived from this software
13+
# without specific prior written permission.
814
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
15+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
19+
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20+
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23+
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24+
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1425

1526
import os
1627
import os.path

mkl_random/src/.gitignore

-1
This file was deleted.

mkl_random/src/mkl_distributions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2024, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/mkl_distributions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2019, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/numpy_multiiter_workaround.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2024-2024, Intel Corporation
2+
Copyright (c) 2024, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/randomkit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2024, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/randomkit.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2019, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2019, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/tests/test_random.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2019, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/tests/test_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2019, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2022, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)