blob: 7fb1addbfcc44928c8a916dd136d07a5571df93c [file] [log] [blame]
peusterm72f09882018-05-15 17:10:27 +02001# Copyright (c) 2015 SONATA-NFV and Paderborn University
2# ALL RIGHTS RESERVED.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# Neither the name of the SONATA-NFV, Paderborn University
17# nor the names of its contributors may be used to endorse or promote
18# products derived from this software without specific prior written
19# permission.
20#
21# This work has been performed in the framework of the SONATA project,
22# funded by the European Commission under Grant number 671517 through
23# the Horizon 2020 and 5G-PPP programmes. The authors would like to
24# acknowledge the contributions of their colleagues of the SONATA
25# partner consortium (www.sonata-nfv.eu).
cgeoffroy9a9bd452016-03-03 19:01:59 +010026from setuptools import setup, find_packages
27
28setup(name='emuvim',
peustermd7cbd212017-09-07 08:55:14 +020029 version='1.0',
peusterm5877ea22016-05-11 13:44:59 +020030 license='Apache 2.0',
peusterma58c6df2017-09-14 11:06:01 +020031 description='vim-emu: A NFV multi-PoP emulation platform',
32 url='https://osm.etsi.org/gitweb/?p=osm/vim-emu.git',
33 author_email='manuel@peuster.de',
cgeoffroy9a9bd452016-03-03 19:01:59 +010034 package_dir={'': 'src'},
35 # packages=find_packages('emuvim', exclude=['*.test', '*.test.*', 'test.*', 'test']),
36 packages=find_packages('src'),
stevenvanrossemdb2f9432016-08-20 00:01:11 +020037 include_package_data=True,
peustermd7cbd212017-09-07 08:55:14 +020038 package_data={
stevenvanrossem5b876702017-04-08 13:41:15 +020039 'emuvim.api.sonata': ['*.yml'],
peustermd7cbd212017-09-07 08:55:14 +020040 'emuvim.dashboard': ['*.html', 'css/*.css', 'img/*', 'js/*.js']
stevenvanrossemdb2f9432016-08-20 00:01:11 +020041 },
cgeoffroy9a9bd452016-03-03 19:01:59 +010042 install_requires=[
43 'pyaml',
peusterma1a5ed02016-03-07 15:29:20 +010044 'tabulate',
45 'argparse',
peusterm0911b552017-09-22 08:47:08 +020046 'networkx==1.11',
peusterma4edcd72016-03-07 15:53:33 +010047 'six>=1.9',
peusterma1a5ed02016-03-07 15:29:20 +010048 'ryu',
peusterm47371402016-08-18 15:24:30 +020049 'oslo.config',
peusterme26487b2016-03-08 14:00:21 +010050 'pytest',
51 'Flask',
peustermbdfab7e2016-03-14 16:03:30 +010052 'flask_restful',
stevenvanrossem9cc73602017-01-27 23:37:29 +010053 'docker==2.0.2',
peusterm04e5f982018-10-31 19:50:16 +010054 'urllib3',
stevenvanrossemc6abf132016-04-14 11:15:58 +020055 'requests',
peustermfa042562016-05-11 14:46:32 +020056 'prometheus_client',
peusterm00199782017-05-17 08:48:12 +020057 'ipaddress',
peusterm3e16acb2018-05-14 18:52:00 +020058 'simplejson',
peusterm72f09882018-05-15 17:10:27 +020059 'gevent',
peusterm5b8ac4f2019-02-12 19:58:24 +010060 'flake8',
61 # fixes: https://github.com/pytest-dev/pytest/issues/4770
62 'more-itertools<=5.0.0'
cgeoffroy9a9bd452016-03-03 19:01:59 +010063 ],
64 zip_safe=False,
65 entry_points={
66 'console_scripts': [
peusterma58c6df2017-09-14 11:06:01 +020067 'vim-emu=emuvim.cli.son_emu_cli:main',
cgeoffroy9a9bd452016-03-03 19:01:59 +010068 ],
69 },
70 setup_requires=['pytest-runner'],
peusterm5b8ac4f2019-02-12 19:58:24 +010071 tests_require=['pytest', 'more-itertools<=5.0.0'],
peustermd7cbd212017-09-07 08:55:14 +020072 )