From 01a60ff23b979eb676658713748598ba4892163a Mon Sep 17 00:00:00 2001 From: Miroslav Los Date: Tue, 26 Nov 2019 14:20:36 +0100 Subject: Support python3 in all plugins Unify tox/requirements/setup.py requirement specifications. Do not set upper version limits if possible. Drop uuid as dependency included with standard library. Drop import of unmaintained cloudify_importer without python3 version. Use PEP 508 URLs in requirements for non-PyPI (github) releases. Use cloudify-common 5 release; pre-release package for python3. Rewrite uses of map with loops/comprehensions. Signed-off-by: Miroslav Los Issue-ID: DCAEGEN2-1956 Change-Id: I7b3ceb97a628e3af5bda3178d182f4207069e86d --- dcae-policy/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dcae-policy/setup.py') diff --git a/dcae-policy/setup.py b/dcae-policy/setup.py index d7a6756..b95e303 100644 --- a/dcae-policy/setup.py +++ b/dcae-policy/setup.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2019 Pantheon.tech. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -27,7 +28,8 @@ setup( author='Alex Shatov', packages=['dcaepolicyplugin'], install_requires=[ - "requests>=2.11.0,<3.0.0" + 'requests>=2.11.0', + 'cloudify-common>=5.0.0', ], keywords='policy dcae controller cloudify plugin', classifiers=[ -- cgit 1.2.3-korg