forked from shmir/PyIxNetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (46 loc) · 1.71 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
# encoding: utf-8
from __future__ import print_function
from setuptools import setup
import io
import ixnetwork
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
with open('requirements.txt') as f:
required = f.read().splitlines()
install_requires = [r for r in required if r and r[0] != '#' and not r.startswith('git')]
long_description = read('README.txt')
setup(
name='pyixnetwork',
version=ixnetwork.__version__,
url='https://github.com/shmir/PyIxNetwork/',
license='Apache Software License',
author='Yoram Shamir',
install_requires=install_requires,
tests_require=['pytest'],
author_email='[email protected]',
description='Python OO API package to automate Ixia IxNetwork traffic generator',
long_description=long_description,
packages=['ixnetwork', 'ixnetwork.api'],
include_package_data=True,
platforms='any',
test_suite='ixnetwork.test',
classifiers=[
'Programming Language :: Python',
'Development Status :: 5 - Production/Stable',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Testing :: Traffic Generation'],
keywords='ixnetwork l2l3 test tool ixia automation',
)