Skip to content

Commit 79d8e9a

Browse files
isapegoivandasch
andauthored
GG-33815 [IGNITE-14564] Add LICENSE files to all artifacts (#44)
(cherry picked from commit 8b1e61c) Co-authored-by: Ivan Daschinsky <[email protected]>
1 parent a26885a commit 79d8e9a

File tree

5 files changed

+57
-2
lines changed

5 files changed

+57
-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

examples/docker-compose.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# Copyright 2021 GridGain Systems, Inc. and Contributors.
3+
#
4+
# Licensed under the GridGain Community Edition License (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
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+
17+
services:
18+
ignite_0:
19+
image: gridgain/community:latest
20+
ports:
21+
- 10800:10800
22+
restart: always
23+
network_mode: host
24+
25+
ignite_1:
26+
image: gridgain/community:latest
27+
ports:
28+
- 10800:10801
29+
restart: always
30+
network_mode: host
31+
32+
ignite_2:
33+
image: gridgain/community:latest
34+
ports:
35+
- 10800:10802
36+
restart: always
37+
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://pygridgain.readthedocs.io/en/latest/examples.html)
1717
section of the `pygridgain` documentation.
18+
19+
You can start GridGain 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
@@ -123,6 +123,7 @@ def run_setup(with_binary=True):
123123
'docs': requirements['docs'],
124124
},
125125
license='GridGain Community Edition License',
126+
license_files=('LICENSE', 'NOTICE'),
126127
classifiers=[
127128
'Programming Language :: Python',
128129
'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
@@ -415,7 +415,7 @@ async def test_new_registered_cache_affinity_async(async_client):
415415
async with create_caches_async(async_client) as caches:
416416
key = 12
417417
test_cache = random.choice(caches)
418-
test_cache.put(key, key)
418+
await test_cache.put(key, key)
419419
await wait_for_affinity_distribution_async(test_cache, key, 3)
420420

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

0 commit comments

Comments
 (0)