Add version schedule pep440-git-full
[osm/LCM.git] / setup.py
index e526850..bb0a0ab 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
     name=_name,
     description='OSM North Bound Interface',
     long_description=README,
-    version_command=('git describe --tags --long --dirty', 'pep440-git'),
+    version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
     # version=VERSION,
     # python_requires='>3.5.0',
     author='ETSI OSM',
@@ -27,12 +27,17 @@ setup(
     packages=[_name],
     include_package_data=True,
     data_files=[('/etc/osm/', ['osm_lcm/lcm.cfg']),
+                ('/etc/systemd/system/', ['osm_lcm/osm-lcm.service']),
                 ],
     dependency_links=[
         "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'],