5 from setuptools
import find_packages
8 from setuptools
import setup
12 project_root = os.path.dirname(__file__)
13 project_root = os.path.abspath(project_root)
14 project_root = os.path.normpath(project_root)
16 project_path = functools.partial(os.path.join, project_root)
20 needs_pytest = bool({
'pytest',
'test',
'ptr'}.intersection(sys.argv))
21 pytest_runner = [
'pytest-runner']
if needs_pytest
else []
25 version=kilda.mininet.__version__,
26 description=
'link load generator',
28 author=
'Dmitry Bogun',
29 author_email=
'bogun.dmitriy@gmail.com',
30 packages=find_packages(),
31 setup_requires=pytest_runner,
32 tests_require=[
'pytest'],
33 install_requires=requirements,
36 'kilda-mininet-rest = kilda.mininet.rest:main',
37 'kilda-mininet-flow-tool = kilda.mininet.flow_tool:main']}