| peusterm | 72f0988 | 2018-05-15 17:10:27 +0200 | [diff] [blame] | 1 | # 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). |
| cgeoffroy | 9a9bd45 | 2016-03-03 19:01:59 +0100 | [diff] [blame] | 26 | from setuptools import setup, find_packages |
| 27 | |
| 28 | setup(name='emuvim', |
| peusterm | d7cbd21 | 2017-09-07 08:55:14 +0200 | [diff] [blame] | 29 | version='1.0', |
| peusterm | 5877ea2 | 2016-05-11 13:44:59 +0200 | [diff] [blame] | 30 | license='Apache 2.0', |
| peusterm | a58c6df | 2017-09-14 11:06:01 +0200 | [diff] [blame] | 31 | 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', |
| cgeoffroy | 9a9bd45 | 2016-03-03 19:01:59 +0100 | [diff] [blame] | 34 | package_dir={'': 'src'}, |
| 35 | # packages=find_packages('emuvim', exclude=['*.test', '*.test.*', 'test.*', 'test']), |
| 36 | packages=find_packages('src'), |
| stevenvanrossem | db2f943 | 2016-08-20 00:01:11 +0200 | [diff] [blame] | 37 | include_package_data=True, |
| peusterm | d7cbd21 | 2017-09-07 08:55:14 +0200 | [diff] [blame] | 38 | package_data={ |
| stevenvanrossem | 5b87670 | 2017-04-08 13:41:15 +0200 | [diff] [blame] | 39 | 'emuvim.api.sonata': ['*.yml'], |
| peusterm | d7cbd21 | 2017-09-07 08:55:14 +0200 | [diff] [blame] | 40 | 'emuvim.dashboard': ['*.html', 'css/*.css', 'img/*', 'js/*.js'] |
| stevenvanrossem | db2f943 | 2016-08-20 00:01:11 +0200 | [diff] [blame] | 41 | }, |
| cgeoffroy | 9a9bd45 | 2016-03-03 19:01:59 +0100 | [diff] [blame] | 42 | install_requires=[ |
| 43 | 'pyaml', |
| peusterm | a1a5ed0 | 2016-03-07 15:29:20 +0100 | [diff] [blame] | 44 | 'tabulate', |
| 45 | 'argparse', |
| peusterm | 0911b55 | 2017-09-22 08:47:08 +0200 | [diff] [blame] | 46 | 'networkx==1.11', |
| peusterm | a4edcd7 | 2016-03-07 15:53:33 +0100 | [diff] [blame] | 47 | 'six>=1.9', |
| peusterm | a1a5ed0 | 2016-03-07 15:29:20 +0100 | [diff] [blame] | 48 | 'ryu', |
| peusterm | 4737140 | 2016-08-18 15:24:30 +0200 | [diff] [blame] | 49 | 'oslo.config', |
| peusterm | e26487b | 2016-03-08 14:00:21 +0100 | [diff] [blame] | 50 | 'pytest', |
| 51 | 'Flask', |
| peusterm | bdfab7e | 2016-03-14 16:03:30 +0100 | [diff] [blame] | 52 | 'flask_restful', |
| stevenvanrossem | 9cc7360 | 2017-01-27 23:37:29 +0100 | [diff] [blame] | 53 | 'docker==2.0.2', |
| peusterm | 04e5f98 | 2018-10-31 19:50:16 +0100 | [diff] [blame] | 54 | 'urllib3', |
| stevenvanrossem | c6abf13 | 2016-04-14 11:15:58 +0200 | [diff] [blame] | 55 | 'requests', |
| peusterm | fa04256 | 2016-05-11 14:46:32 +0200 | [diff] [blame] | 56 | 'prometheus_client', |
| peusterm | 0019978 | 2017-05-17 08:48:12 +0200 | [diff] [blame] | 57 | 'ipaddress', |
| peusterm | 3e16acb | 2018-05-14 18:52:00 +0200 | [diff] [blame] | 58 | 'simplejson', |
| peusterm | 72f0988 | 2018-05-15 17:10:27 +0200 | [diff] [blame] | 59 | 'gevent', |
| peusterm | 5b8ac4f | 2019-02-12 19:58:24 +0100 | [diff] [blame] | 60 | 'flake8', |
| 61 | # fixes: https://github.com/pytest-dev/pytest/issues/4770 |
| 62 | 'more-itertools<=5.0.0' |
| cgeoffroy | 9a9bd45 | 2016-03-03 19:01:59 +0100 | [diff] [blame] | 63 | ], |
| 64 | zip_safe=False, |
| 65 | entry_points={ |
| 66 | 'console_scripts': [ |
| peusterm | a58c6df | 2017-09-14 11:06:01 +0200 | [diff] [blame] | 67 | 'vim-emu=emuvim.cli.son_emu_cli:main', |
| cgeoffroy | 9a9bd45 | 2016-03-03 19:01:59 +0100 | [diff] [blame] | 68 | ], |
| 69 | }, |
| 70 | setup_requires=['pytest-runner'], |
| peusterm | 5b8ac4f | 2019-02-12 19:58:24 +0100 | [diff] [blame] | 71 | tests_require=['pytest', 'more-itertools<=5.0.0'], |
| peusterm | d7cbd21 | 2017-09-07 08:55:14 +0200 | [diff] [blame] | 72 | ) |