text: #!/usr/bin/env python
  
  import sys
  from setuptools import find_packages, setup
  
  if sys.version_info < (3, 4):
      error = """
  Transplant does not support Python < 3.4.
  This may be due to an out of date pip.
  Make sure you have pip >= 9.0.1.
  """
      sys.exit(error)
  
  setup(
      name='Transplant',
      version='0.8.11',
      description='Call Matlab from Python (requires Matlab)',
      author='Bastian Bechtold',
      author_email='basti@bastibe.de',
      url='https://github.com/bastibe/transplant',
      packages=find_packages(),
      package_data={'transplant': ['parsemsgpack.m', 'dumpmsgpack.m',
                                   'parsejson.m', 'dumpjson.m',
                                   'base64decode.m', 'base64encode.m',
                                   'transplant_remote.m', 'ZMQ.m',
                                   'transplantzmq.h']},
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Operating System :: MacOS',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
      ],
      license='BSD 3-clause',
      install_requires=['numpy', 'pyzmq', 'msgpack'],
      python_requires='>=3.4',
      requires=['matlab', 'libzmq'],
      long_description=open('README.rst').read(),
  )
  