nbi.py: initial commit for NetSlices with definition
[osm/NBI.git] / setup.py
1 #!/usr/bin/env python3
2
3 import os
4 from setuptools import setup
5
6 _name = "osm_nbi"
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()
13
14 setup(
15 name=_name,
16 description='OSM North Bound Interface',
17 long_description=README,
18 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
19 # version=VERSION,
20 # python_requires='>3.5.0',
21 author='ETSI OSM',
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',
26 license='Apache 2.0',
27
28 packages=[_name],
29 include_package_data=True,
30 data_files=[('/etc/osm/', ['osm_nbi/nbi.cfg']),
31 ('/etc/systemd/system/', ['osm_nbi/osm-nbi.service']),
32 ],
33 dependency_links=[
34 "git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common-0.1.4"
35 ],
36 install_requires=[
37 'CherryPy', 'pymongo', 'jsonschema', 'PyYAML', 'python-keystoneclient'
38 # 'osm-common',
39 ],
40 setup_requires=['setuptools-version-command'],
41 # test_suite='nose.collector',
42 # entry_points='''
43 # [console_scripts]
44 # osm=osm_nbi.nbi:nbi
45 # ''',
46 )