fix dependencies at setup.py 33/8533/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 28 Jan 2020 16:31:10 +0000 (16:31 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 29 Jan 2020 14:31:01 +0000 (14:31 +0000)
Change-Id: I338003728206b3934c07835e2f7a01a76ed1eda5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
18 files changed:
RO-SDN-dynpac/requirements.txt
RO-SDN-dynpac/setup.py
RO-SDN-floodlight_openflow/setup.py
RO-SDN-onos_openflow/requirements.txt
RO-SDN-onos_openflow/setup.py
RO-SDN-onos_openflow/tox.ini
RO-SDN-onos_vpls/requirements.txt
RO-SDN-onos_vpls/setup.py
RO-SDN-tapi/requirements.txt
RO-SDN-tapi/setup.py
RO-VIM-aws/setup.py
RO-VIM-azure/setup.py
RO-VIM-fos/setup.py
RO-VIM-opennebula/setup.py
RO-VIM-openstack/setup.py
RO-VIM-openvim/setup.py
RO-VIM-vmware/setup.py
RO/setup.py

index 44c797f..a6f6d65 100644 (file)
@@ -14,5 +14,5 @@
 ##
 
 requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro
+git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO
 
index 52a4fc8..af69a0d 100644 (file)
@@ -44,8 +44,10 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "osm-ro"],
+    install_requires=[
+        "requests",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rosdn.plugins': ['rosdn_dynpac = osm_rosdn_dynpac.wimconn_dynpac:DynpacConnector'],
index 93a1988..d5b9848 100644 (file)
@@ -44,8 +44,10 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "osm-ro"],
+    install_requires=[
+        "requests",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rosdn.plugins': ['rosdn_floodlightof = osm_rosdn_floodlightof.sdnconn_floodlightof:'
index 44c797f..a6f6d65 100644 (file)
@@ -14,5 +14,5 @@
 ##
 
 requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro
+git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO
 
index 333ee58..96e6b62 100644 (file)
@@ -44,8 +44,10 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "osm-ro"],
+    install_requires=[
+        "requests",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rosdn.plugins': ['rosdn_onosof = osm_rosdn_onosof.sdnconn_onosof:SdnConnectorOnosOf'],
index 00b4585..a9f8688 100644 (file)
 ##
 
 [tox]
-envlist = py3
-toxworkdir={homedir}/.tox
+envlist = flake8
+toxworkdir={toxinidir}/.tox
 
 [testenv]
 basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
+install_command = python3 -m pip install -U {opts} {packages}
 # deps = -r{toxinidir}/test-requirements.txt
 commands=python3 -m unittest discover -v
 
 [testenv:flake8]
 basepython = python3
 deps = flake8
+       -r{toxinidir}/requirements.txt
+install_command = python3 -m pip install -U {opts} {packages}
 commands = flake8 osm_rosdn_onosof --max-line-length 120 \
     --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226,W504
 
index 44c797f..a6f6d65 100644 (file)
@@ -14,5 +14,5 @@
 ##
 
 requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro
+git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO
 
index 0785cb5..b015e67 100644 (file)
@@ -44,8 +44,10 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "osm-ro"],
+    install_requires=[
+        "requests",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rosdn.plugins': ['rosdn_onos_vpls = osm_rosdn_onos_vpls.sdn_assist_onos_vpls:OnosVpls'],
index 44c797f..a6f6d65 100644 (file)
@@ -14,5 +14,5 @@
 ##
 
 requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro
+git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO
 
index 931dd66..9217492 100644 (file)
@@ -45,7 +45,10 @@ setup(
     packages=[_name],
     include_package_data=True,
     dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "osm-ro"],
+    install_requires=[
+        "requests",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rosdn.plugins': ['rosdn_tapi = osm_rosdn_tapi.wimconn_ietfl2vpn:WimconnectorIETFL2VPN'],
index 30b90bd..b8f3703 100644 (file)
@@ -44,9 +44,9 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
     install_requires=[
-        "requests", "netaddr", "PyYAML", "osm-ro", "boto"
+        "requests", "netaddr", "PyYAML", "boto",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
     ],
     setup_requires=['setuptools-version-command'],
     entry_points={
index 557feda..32c204c 100644 (file)
@@ -44,8 +44,13 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "netaddr", "PyYAML", "azure", "osm-ro"],
+    install_requires=[
+        "requests",
+        "netaddr",
+        "PyYAML",
+        "azure",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rovim.plugins': ['rovim_azure = osm_rovim_azure.vimconn_azure'],
index 95d97ca..62cf4b8 100644 (file)
@@ -44,9 +44,12 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
     install_requires=[
-        "requests", "netaddr", "PyYAML", "osm-ro", "fog05rest>=0.0.4"
+        "requests",
+        "netaddr",
+        "PyYAML",
+        "fog05rest>=0.0.4",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
     ],
     setup_requires=['setuptools-version-command'],
     entry_points={
index c27bca3..7819282 100644 (file)
@@ -45,8 +45,12 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
-    install_requires=["requests", "netaddr", "PyYAML", "osm-ro",],
+    install_requires=[
+        "requests",
+        "netaddr",
+        "PyYAML",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+    ],
     setup_requires=['setuptools-version-command'],
     entry_points={
         'osm_rovim.plugins': ['rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula'],
index 1b3deba..56c798b 100644 (file)
@@ -44,11 +44,11 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
     install_requires=[
         "python-openstackclient", "python-neutronclient", 
         "requests", "netaddr", "PyYAML",
-        "osm-ro", # TODO py3 "networking-l2gw"
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
+        # TODO py3 "networking-l2gw"
         # "python-novaclient", "python-keystoneclient", "python-glanceclient", "python-cinderclient",
     ],
     setup_requires=['setuptools-version-command'],
index 19ac0ba..7a9070c 100644 (file)
@@ -44,9 +44,9 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
     install_requires=[
         "requests", "netaddr", "PyYAML",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
     ],
     setup_requires=['setuptools-version-command'],
     entry_points={
index 193102e..373cf81 100644 (file)
@@ -45,11 +45,10 @@ setup(
 
     packages=[_name],
     include_package_data=True,
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
     install_requires=[
         "pyvcloud==19.1.1", "progressbar", "prettytable", "pyvmomi",
         "requests", "netaddr", "PyYAML",
-        "osm-ro",
+        "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO"
     ],
     setup_requires=['setuptools-version-command'],
     entry_points={
index 5cb1fe9..a78a18b 100755 (executable)
@@ -29,7 +29,7 @@ _license = 'Apache 2.0'
 _url = 'https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary'
 _requirements = [
     # TODO py3 revise
-    "osm-im",
+    "osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im",
     "PyYAML",
     "bottle",
     "logutils",
@@ -67,7 +67,7 @@ setup(
     scripts=['osm_ro/scripts/RO-start.sh'
       #'openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',
       ],
-    dependency_links=["git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im"],
+    # dependency_links=["git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm_im"],
     install_requires=_requirements,
     include_package_data=True,
     setup_requires=['setuptools-version-command'],