1
+ @ echo off
2
+ REM Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
3
+ REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
+
5
+ REM The Universal Permissive License (UPL), Version 1.0
6
+
7
+ REM Subject to the condition set forth below, permission is hereby granted to any
8
+ REM person obtaining a copy of this software, associated documentation and/or
9
+ REM data (collectively the "Software"), free of charge and under any and all
10
+ REM copyright rights in the Software, and any and all patent rights owned or
11
+ REM freely licensable by each licensor hereunder covering either (i) the
12
+ REM unmodified Software as contributed to or provided by such licensor, or (ii)
13
+ REM the Larger Works (as defined below), to deal in both
14
+
15
+ REM (a) the Software, and
16
+
17
+ REM (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
18
+ REM one is included with the Software each a "Larger Work" to which the Software
19
+ REM is contributed by such licensors),
20
+
21
+ REM without restriction, including without limitation the rights to copy, create
22
+ REM derivative works of, display, perform, and distribute the Software and make,
23
+ REM use, sell, offer for sale, import, export, have made, and have sold the
24
+ REM Software and the Larger Work(s), and to sublicense the foregoing rights on
25
+ REM either these or other terms.
26
+
27
+ REM This license is subject to the following condition:
28
+
29
+ REM The above copyright notice and either this complete permission notice or at a
30
+ REM minimum a reference to the UPL must be included in all copies or substantial
31
+ REM portions of the Software.
32
+
33
+ REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34
+ REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35
+ REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36
+ REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37
+ REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38
+ REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39
+ REM SOFTWARE.
40
+
41
+ REM Install the necessary dependencies
42
+ python -m pip install --upgrade pip
43
+ python -m pip install numpy
44
+
45
+ REM Build the wheel for NumPy
46
+ if " %1 " == " " (
47
+ python -m pip wheel numpy
48
+ ) else (
49
+ python -m pip wheel " numpy==%1 "
50
+ )
0 commit comments