File tree Expand file tree Collapse file tree 5 files changed +57
-2
lines changed
Expand file tree Collapse file tree 5 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 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
211include README.md
12+ include LICENSE
13+ include NOTICE
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ This directory contains the following example files:
1515For the explanation of the examples please refer to the
1616[ Examples of usage] ( https://pygridgain.readthedocs.io/en/latest/examples.html )
1717section 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+ ```
Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff 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' ))
You can’t perform that action at this time.
0 commit comments