setup.py: version_command instead of static version; added MANIFEST.in
Change-Id: I115c3eef0e63cdaacfb88199d93bcd77071e6657
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/setup.py b/setup.py
index 507c0fa..e526850 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@
_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 @@
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 --tags --long --dirty', 'pep440-git'),
+ # version=VERSION,
# python_requires='>3.5.0',
author='ETSI OSM',
author_email='alfonso.tiernosepulveda@telefonica.com',
@@ -27,7 +27,6 @@
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"
@@ -36,7 +35,7 @@
'pymongo', 'PyYAML',
# 'osm-common',
],
- # setup_requires=['setuptools-version-command'],
+ setup_requires=['setuptools-version-command'],
# test_suite='nose.collector',
# entry_points='''
# [console_scripts]