Skip to content

Commit 8b1e61c

Browse files
committed
IGNITE-14564 Add LICENSE and NOTICE files to all artifacts - Fixes #34.
1 parent 4b39956 commit 8b1e61c

File tree

6 files changed

+61
-2
lines changed

6 files changed

+61
-2
lines changed

MANIFEST.in

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
recursive-include requirements *
1+
graft requirements
2+
graft examples
3+
graft docs
4+
recursive-exclude docs/generated *
5+
graft tests
6+
recursive-exclude tests/config *.xml
7+
recursive-exclude tests/logs *
8+
global-exclude *.py[cod]
9+
global-exclude *__pycache__*
10+
include tox.ini
211
include README.md
12+
include LICENSE
13+
include NOTICE

NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Apache Ignite binary client Python API
2+
Copyright 2021 The Apache Software Foundation
3+
4+
This product includes software developed at
5+
The Apache Software Foundation (http://www.apache.org/).

examples/docker-compose.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
services:
17+
ignite_0:
18+
image: apacheignite/ignite:latest
19+
ports:
20+
- 10800:10800
21+
restart: always
22+
network_mode: host
23+
24+
ignite_1:
25+
image: apacheignite/ignite:latest
26+
ports:
27+
- 10800:10801
28+
restart: always
29+
network_mode: host
30+
31+
ignite_2:
32+
image: apacheignite/ignite:latest
33+
ports:
34+
- 10800:10802
35+
restart: always
36+
network_mode: host

examples/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ This directory contains the following example files:
1515
For the explanation of the examples please refer to the
1616
[Examples of usage](https://apache-ignite-binary-protocol-client.readthedocs.io/en/latest/examples.html)
1717
section of the `pyignite` documentation.
18+
19+
You can start Apache Ignite locally for running examples using `docker` and `docker-compose`
20+
```bash
21+
cd ./examples
22+
docker-compose up
23+
```

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def run_setup(with_binary=True):
121121
'docs': requirements['docs'],
122122
},
123123
license="Apache License 2.0",
124+
license_files=('LICENSE', 'NOTICE'),
124125
classifiers=[
125126
'Programming Language :: Python',
126127
'Programming Language :: Python :: 3',

tests/affinity/test_affinity_request_routing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ async def test_new_registered_cache_affinity_async(async_client):
413413
async with create_caches_async(async_client) as caches:
414414
key = 12
415415
test_cache = random.choice(caches)
416-
test_cache.put(key, key)
416+
await test_cache.put(key, key)
417417
await wait_for_affinity_distribution_async(test_cache, key, 3)
418418

419419
caches.append(await async_client.create_cache('new_cache'))

0 commit comments

Comments
 (0)