logging to stderr in addition to LOGFILE
[osm/LCM.git] / setup.py
1 #!/usr/bin/env python3
2
3 import os
4 from setuptools import setup
5
6 _name = "osm_lcm"
7 # version is at first line of osm_lcm/html_public/version
8 here = os.path.abspath(os.path.dirname(__file__))
9 # VERSION = "4.0.1rc1"
10 with open(os.path.join(here, 'README.rst')) as readme_file:
11 README = readme_file.read()
12
13 setup(
14 name=_name,
15 description='OSM North Bound Interface',
16 long_description=README,
17 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git'),
18 # version=VERSION,
19 # python_requires='>3.5.0',
20 author='ETSI OSM',
21 author_email='alfonso.tiernosepulveda@telefonica.com',
22 maintainer='Alfonso Tierno',
23 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
24 url='https://osm.etsi.org/gitweb/?p=osm/LCM.git;a=summary',
25 license='Apache 2.0',
26
27 packages=[_name],
28 include_package_data=True,
29 data_files=[('/etc/osm/', ['osm_lcm/lcm.cfg']),
30 ('/etc/systemd/system/', ['osm_lcm/osm-lcm.service']),
31 ],
32 dependency_links=[
33 "git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common-0.1.4"
34 ],
35 install_requires=[
36 'pymongo', 'PyYAML', 'aiohttp'
37 # 'osm-common',
38 ],
39 setup_requires=['setuptools-version-command'],
40 # test_suite='nose.collector',
41 # entry_points='''
42 # [console_scripts]
43 # osm=osm_lcm.lcm:lcm
44 # ''',
45 )