forked from ansys/pymapdl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (56 loc) · 2.09 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
56
57
58
59
60
61
62
63
64
65
66
"""Installation file for ansys-mapdl-core"""
import os
from io import open as io_open
from setuptools import setup
# Get version from version info
__version__ = None
this_file = os.path.dirname(__file__)
version_file = os.path.join(this_file, 'ansys', 'mapdl', 'core', '_version.py')
with io_open(version_file, mode='r') as fd:
# execute file from raw string
exec(fd.read())
install_requires = [
'numpy>=1.14.0',
'pyvista>=0.27.2',
'appdirs>=1.4.0',
'tqdm>=4.45.0',
'pyiges>=0.1.4',
'scipy>=1.3.0', # for sparse (consider optional?)
'google-api-python-client',
'grpcio>=1.30.0', # tested up to grpcio==1.35
'ansys-grpc-mapdl==0.2.0',
'ansys-mapdl-reader>=0.50.0',
'ansys-corba', # pending depreciation to ansys-mapdl-corba
'protobuf>=3.1.4', # had an issue with gRPC health checking with this version
]
# 'grpcio-health-checking>=1.30.0',
# these are only used when launching a MAPDL via a console. This
# feature is subject to be removed or moved out of this module.
if os.name == 'linux':
install_requires.extend(['pexpect>=4.8.0'])
setup(
name='ansys-mapdl-core',
packages=['ansys.mapdl.core', 'ansys.mapdl.core.examples'],
version=__version__,
description='Python interface to MAPDL Service',
long_description=open('README.rst').read(),
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Information Analysis',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
url='https://github.com/pyansys/pymapdl',
python_requires='>=3.6.*',
keywords='ANSYS MAPDL gRPC',
package_data={'ansys.mapdl.core.examples': ['verif/*.dat',
'wing.dat']},
install_requires=install_requires,
)