forked from bastibe/transplant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (43 loc) · 1.57 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
#!/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='[email protected]',
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'],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'scipy'],
python_requires='>=3.4',
requires=['matlab', 'libzmq'],
long_description=open('README.rst').read(),
)