4 from setuptools
import setup
7 # version is at first line of osm_nbi/html_public/version
8 here
= os
.path
.abspath(os
.path
.dirname(__file__
))
9 with
open(os
.path
.join(here
, 'osm_nbi/html_public/version')) as version_file
:
10 VERSION
= version_file
.readline().strip()
11 with
open(os
.path
.join(here
, 'README.rst')) as readme_file
:
12 README
= readme_file
.read()
16 description
='OSM North Bound Interface',
17 long_description
=README
,
18 # version_command=('git describe --tags --long --dirty', 'pep440-git'),
20 # python_requires='>3.5.0',
22 author_email
='alfonso.tiernosepulveda@telefonica.com',
23 maintainer
='Alfonso Tierno',
24 maintainer_email
='alfonso.tiernosepulveda@telefonica.com',
25 url
='https://osm.etsi.org/gitweb/?p=osm/NBI.git;a=summary',
29 include_package_data
=True,
30 data_files
=[('/etc/osm/', ['osm_nbi/nbi.cfg']),
31 ('/etc/systemd/system/', ['osm_nbi/osm-nbi.service']),
34 "git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common-0.1.4"
37 'CherryPy', 'pymongo', 'jsonschema', 'PyYAML',
40 # setup_requires=['setuptools-version-command'],
41 # test_suite='nose.collector',