Skip to content

Commit 1e485b5

Browse files
committed
Update build scripts and README.md
1 parent d1213c2 commit 1e485b5

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# ignite-python-client
22
Apache Ignite thin (binary protocol) client, written in Python 3.
33

4+
<a href="https://ignite.apache.org/"><img src="https://github.com/apache/ignite-website/blob/master/assets/images/apache_ignite_logo.svg" hspace="20"/></a>
5+
6+
![Build Status](https://github.com/apache/ignite-python-thin-client/actions/workflows/pr_check.yml/badge.svg)
7+
[![License](https://img.shields.io/github/license/apache/ignite-python-thin-client?color=blue)](https://www.apache.org/licenses/LICENSE-2.0.html)
8+
[![Pypi](https://img.shields.io/pypi/v/pyignite)](https://pypi.org/project/pyignite/)
9+
[![Downloads](https://static.pepy.tech/badge/pyignite/month)](https://pepy.tech/project/pyignite)
10+
11+
412
## Prerequisites
513

614
- Python 3.7 or above (3.7, 3.8, 3.9, 3.10 and 3.11 are tested),
@@ -50,7 +58,7 @@ There is an optional C extension to speedup some computational intensive tasks.
5058
- For building `wheels` for Windows, invoke script `.\scripts\BuildWheels.ps1` using PowerShell. Just make sure that
5159
your execution policy allows execution of scripts in your environment.
5260

53-
Ready wheels for `x86` and `x86-64` for different python versions (3.7, 3.8, 3.9 and 3.10) will be
61+
Ready wheels for `x86` and `x86-64` for different python versions (3.7, 3.8, 3.9, 3.10 and 3.11) will be
5462
located in `distr` directory.
5563

5664
### Updating from older version
@@ -67,7 +75,7 @@ pip install pyignite
6775

6876
To install a specific version:
6977
```bash
70-
pip install pyignite==0.6.0
78+
pip install pyignite==0.6.1
7179
```
7280

7381
## Documentation

scripts/BuildWheels.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
$PyVers="37","38","39","310"
16+
$PyVers="37","38","39","310","311"
1717

1818
[System.Collections.ArrayList]$PyVersFull = $PyVers
1919
foreach ($Ver in $PyVers)

scripts/build_wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function repair_wheel {
2727

2828
# Compile wheels
2929
for PYBIN in /opt/python/*/bin; do
30-
if [[ $PYBIN =~ ^(.*)cp3[7891](.*)$ ]]; then
30+
if [[ $PYBIN =~ ^(.*)cp3[7891]1?(.*)$ ]]; then
3131
"${PYBIN}/pip" wheel /pyignite/ --no-deps -w /wheels
3232
fi
3333
done

scripts/create_distr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
DISTR_DIR="$(pwd)/distr/"
1818
SRC_DIR="$(pwd)"
19-
DEFAULT_DOCKER_IMAGE="quay.io/pypa/manylinux2010_x86_64"
19+
DEFAULT_DOCKER_IMAGE="quay.io/pypa/manylinux2014_x86_64"
2020

2121
usage() {
2222
cat <<EOF
@@ -50,7 +50,7 @@ run_wheel_arch() {
5050
if [[ $1 =~ ^(i686|x86)$ ]]; then
5151
PLAT="manylinux1_i686"
5252
PRE_CMD="linux32"
53-
DOCKER_IMAGE="quay.io/pypa/manylinux2010_i686"
53+
DOCKER_IMAGE="quay.io/pypa/manylinux2014_i686"
5454
elif [[ $1 =~ ^(x86_64)$ ]]; then
5555
PLAT="manylinux1_x86_64"
5656
PRE_CMD=""

scripts/create_sdist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -e -u -x
1818

1919
# Create source dist.
2020
for PYBIN in /opt/python/*/bin; do
21-
if [[ $PYBIN =~ ^(.*)cp3[7891](.*)$ ]]; then
21+
if [[ $PYBIN =~ ^(.*)cp3[7891]1?(.*)$ ]]; then
2222
cd pyignite
2323
"${PYBIN}/python" setup.py sdist --formats=gztar,zip --dist-dir /dist
2424
break;

0 commit comments

Comments
 (0)