blob: 7cd857c7d8c49e611501497d3fda65b4f2ff2754 [file] [log] [blame]
tiernoc94c3df2018-02-09 15:38:54 +01001#!/usr/bin/env python3
2
tiernodfe09572018-04-24 10:41:10 +02003import os
4from setuptools import setup
tiernoc94c3df2018-02-09 15:38:54 +01005
tiernodfe09572018-04-24 10:41:10 +02006here = os.path.abspath(os.path.dirname(__file__))
tiernoc94c3df2018-02-09 15:38:54 +01007_name = "osm_nbi"
tiernodfe09572018-04-24 10:41:10 +02008VERSION = "0.1.3"
9README = open(os.path.join(here, 'README.rst')).read()
tiernoc94c3df2018-02-09 15:38:54 +010010
11setup(
12 name=_name,
13 description='OSM North Bound Interface',
tiernodfe09572018-04-24 10:41:10 +020014 long_description=README,
tiernoc94c3df2018-02-09 15:38:54 +010015 # version_command=('git describe --tags --long --dirty', 'pep440-git'),
tiernodfe09572018-04-24 10:41:10 +020016 version=VERSION,
17 python_requires='>3.5.0',
tiernoc94c3df2018-02-09 15:38:54 +010018 author='ETSI OSM',
19 author_email='alfonso.tiernosepulveda@telefonica.com',
20 maintainer='Alfonso Tierno',
21 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
22 url='https://osm.etsi.org/gitweb/?p=osm/NBI.git;a=summary',
23 license='Apache 2.0',
24
tiernodfe09572018-04-24 10:41:10 +020025 packages=[_name],
tiernoc94c3df2018-02-09 15:38:54 +010026 include_package_data=True,
27 data_files=[('/etc/osm/', ['osm_nbi/nbi.cfg']),
28 ('/etc/systemd/system/', ['osm_nbi/osm-nbi.service']),
29 ],
30
31 install_requires=[
Mike Marchettic678d042018-04-18 13:51:27 -040032 'CherryPy', 'pymongo', 'jsonschema'
tiernodfe09572018-04-24 10:41:10 +020033 # 'PyYAML',
tiernoc94c3df2018-02-09 15:38:54 +010034 ],
tiernodfe09572018-04-24 10:41:10 +020035 # setup_requires=['setuptools-version-command'],
tiernoc94c3df2018-02-09 15:38:54 +010036 # test_suite='nose.collector',
37 # entry_points='''
38 # [console_scripts]
39 # osm=osm_nbi.nbi:nbi
40 # ''',
41)
tiernodfe09572018-04-24 10:41:10 +020042