Adding cover to tox.ini default envs
[osm/RO.git] / RO-client / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Copyright 2018 Telefonica S.A.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19 import os
20 from setuptools import setup
21
22 _name = "osm_roclient"
23 # version is at first line of osm_roclient/html_public/version
24 here = os.path.abspath(os.path.dirname(__file__))
25 with open(os.path.join(here, 'README.rst')) as readme_file:
26 README = readme_file.read()
27
28 setup(
29 name=_name,
30 description='OSM ro client',
31 long_description=README,
32 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
33 # version=VERSION,
34 # python_requires='>3.5.0',
35 author='ETSI OSM',
36 author_email='alfonso.tiernosepulveda@telefonica.com',
37 maintainer='Alfonso Tierno',
38 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
39 url='https://osm.etsi.org/gitweb/?p=osm/LCM.git;a=summary',
40 license='Apache 2.0',
41
42 packages=[_name],
43 include_package_data=True,
44 # data_files=[('/etc/osm/', ['osm_roclient/lcm.cfg']),
45 # ('/etc/systemd/system/', ['osm_roclient/osm-lcm.service']),
46 # ],
47 install_requires=[
48 'PyYAML',
49 'requests==2.*',
50 'argcomplete',
51 ],
52 setup_requires=['setuptools-version-command'],
53 entry_points={
54 "console_scripts": [
55 "openmano=osm_roclient.roclient:main"
56 ]
57 },
58 )