From: garciadeblas Date: Fri, 25 May 2018 13:50:58 +0000 (+0200) Subject: setup.py: version_command instead of static version; added MANIFEST.in X-Git-Tag: v4.0.1~1 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=commitdiff_plain;h=6b70e44238fa285d7b4d16aeac2277d0768ee693 setup.py: version_command instead of static version; added MANIFEST.in Change-Id: I115c3eef0e63cdaacfb88199d93bcd77071e6657 Signed-off-by: garciadeblas --- diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..99153b9 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +recursive-include osm_lcm * + diff --git a/README.rst b/README.rst index 466163f..716c89b 100644 --- a/README.rst +++ b/README.rst @@ -2,5 +2,5 @@ osm-lcm =========== -osm-lcm is the Lightweight Build Life Cycle Management for OSM. It interact with RO module for resource orchestration and N2VC for resoruce orchestration +osm-lcm is the Lightweight Build Life Cycle Management for OSM. It interact with RO module for resource orchestration and N2VC for VNF configuration diff --git a/setup.py b/setup.py index 507c0fa..e526850 100644 --- 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 --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 @@ 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" @@ -36,7 +35,7 @@ setup( 'pymongo', 'PyYAML', # 'osm-common', ], - # setup_requires=['setuptools-version-command'], + setup_requires=['setuptools-version-command'], # test_suite='nose.collector', # entry_points=''' # [console_scripts]