# -*- coding: utf-8 -*-
# Copyright (C) 2012-2015 MUJIN Inc
from distutils.core import setup
try:
    from mujincommon.setuptools import Distribution
except ImportError:
    from distutils.dist import Distribution

version = {}
execfile('mujinvisioncontrollerclient/version.py', version)

setup(
    distclass=Distribution,
    name='mujinvisioncontrollerclient',
    version=version['__version__'],
    packages=['mujinvisioncontrollerclient'],
    license='Apache License, Version 2.0',
    long_description=open('README.rst').read(),
    # flake8 compliance configuration
    enable_flake8=True,  # Enable checks
    fail_on_flake=True,  # Fail builds when checks fail
    install_requires=[],
)

# -*- coding: utf-8 -*-
# Copyright (C) 2012-2015 MUJIN Inc
from distutils.core import setup
try:
    from mujincommon.setuptools import Distribution
except ImportError:
    from distutils.dist import Distribution

version = {}
exec(open('mujinvisioncontrollerclient/version.py').read(), version)

setup(
    distclass=Distribution,
    name='mujinvisioncontrollerclient',
    version=version['__version__'],
    packages=['mujinvisioncontrollerclient'],
    license='Apache License, Version 2.0',
    long_description=open('README.rst').read(),
    # flake8 compliance configuration
    enable_flake8=True,  # Enable checks
    fail_on_flake=True,  # Fail builds when checks fail
    install_requires=[],
)

Make python3 compatible.