Support of debian packaging with versioning for openvim and ovim library; dealing with openflow exec; inclusion of README.rst for both; service file and postinst file added for openvim
Change-Id: Iaa42a592bf8c372c3429fe6a5e556537ec3c9559
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/setup.py b/setup.py
index fac60ea..6856ff1 100755
--- a/setup.py
+++ b/setup.py
@@ -3,8 +3,8 @@
from setuptools import setup
__name = 'osm_openvim'
-__version = '1.0.0'
-__description = 'OSM Openvim library'
+__version = open('OPENVIM_VERSION').read().strip()
+__description = 'OSM Openvim'
__author = 'ETSI OSM'
__author_email = 'alfonso.tiernosepulveda@telefonica.com'
__maintainer = 'mirabal'
@@ -64,6 +64,9 @@
scripts=__scripts__,
package_data={'osm_openvim': ['*']},
include_package_data=True,
+ data_files = [('/etc/osm/', ['osm_openvim/openvimd.cfg']),
+ ('/etc/systemd/system/', ['osm_openvim/osm-openvim.service']),
+ ],
install_requires=_req
)