From 5a5698c7901cd8be576c3e907eebcbd02be08015 Mon Sep 17 00:00:00 2001 From: Marco Zeisler Date: Thu, 27 May 2021 19:59:48 +0200 Subject: [PATCH] moved pika to shared; updated shared.readme; --- .../entitiy_ident/entity_ident_service/requirements.txt | 1 - components/event_store/requirements.txt | 1 - components/i_feed/requirements.txt | 1 - components/orchestration/requirements.txt | 1 - components/shared/RADME.md | 4 ++-- components/shared/setup.py | 3 ++- 6 files changed, 4 insertions(+), 7 deletions(-) diff --git a/components/entitiy_ident/entity_ident_service/requirements.txt b/components/entitiy_ident/entity_ident_service/requirements.txt index e821607..52eec99 100644 --- a/components/entitiy_ident/entity_ident_service/requirements.txt +++ b/components/entitiy_ident/entity_ident_service/requirements.txt @@ -1,4 +1,3 @@ -pika flask Flask-PyMongo jsonify \ No newline at end of file diff --git a/components/event_store/requirements.txt b/components/event_store/requirements.txt index 7522705..3fb3f61 100644 --- a/components/event_store/requirements.txt +++ b/components/event_store/requirements.txt @@ -1,3 +1,2 @@ -pika flask Flask-And-Redis diff --git a/components/i_feed/requirements.txt b/components/i_feed/requirements.txt index f884b43..1cf2ae5 100644 --- a/components/i_feed/requirements.txt +++ b/components/i_feed/requirements.txt @@ -1,3 +1,2 @@ circuitbreaker # fault tolerance geopy -pika diff --git a/components/orchestration/requirements.txt b/components/orchestration/requirements.txt index a15c365..7e10602 100644 --- a/components/orchestration/requirements.txt +++ b/components/orchestration/requirements.txt @@ -1,2 +1 @@ -pika flask diff --git a/components/shared/RADME.md b/components/shared/RADME.md index 431db19..e898dab 100644 --- a/components/shared/RADME.md +++ b/components/shared/RADME.md @@ -1,5 +1,5 @@ Install shared libs via -* To have life changes: `python setup.py develop` -* To install properly: `python setup.py install` +* To have life changes (develop package only links to this folder): `pip install -e .` +* To install as independent package: `pip install .` Create installable package via `python setup.py sdist` diff --git a/components/shared/setup.py b/components/shared/setup.py index 7016dbe..c76895c 100644 --- a/components/shared/setup.py +++ b/components/shared/setup.py @@ -4,5 +4,6 @@ setup(name='dse-shared-libs', version=1, packages=find_packages(), include_package_data=True, - license='BSD License', # example license + license='BSD License', # example licensez + install_requires=['pika'] )