feature 6314: Control LCM operations over ns instance
[osm/LCM.git] / setup.py
index 4a46e9f..bb0a0ab 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import setup
 _name = "osm_lcm"
 # version is at first line of osm_lcm/html_public/version
 here = os.path.abspath(os.path.dirname(__file__))
-VERSION = "4.0.1rc1"
+VERSION = "4.0.1rc1"
 with open(os.path.join(here, 'README.rst')) as readme_file:
     README = readme_file.read()
 
@@ -14,8 +14,8 @@ setup(
     name=_name,
     description='OSM North Bound Interface',
     long_description=README,
-    # version_command=('git describe --tags --long --dirty', 'pep440-git'),
-    version=VERSION,
+    version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
+    version=VERSION,
     # python_requires='>3.5.0',
     author='ETSI OSM',
     author_email='alfonso.tiernosepulveda@telefonica.com',
@@ -33,14 +33,17 @@ setup(
         "git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common-0.1.4"
     ],
     install_requires=[
-        'pymongo', 'PyYAML',
+        'pymongo',
+        'PyYAML',
+        'aiohttp==0.20.2',
+        # TODO this is version installed by 'apt python3-aiohttp' on Ubuntu Sserver 14.04
+        # version installed by pip 3.3.2 is not compatible. Code should be migrated to this version and use pip3
         # 'osm-common',
     ],
-    setup_requires=['setuptools-version-command'],
+    setup_requires=['setuptools-version-command'],
     # test_suite='nose.collector',
     # entry_points='''
     #     [console_scripts]
     #     osm=osm_lcm.lcm:lcm
     #     ''',
 )
-