-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
74 lines (67 loc) · 2.41 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
67
68
69
70
71
72
73
74
"""
Installation file for python pyvista module
"""
import os
from io import open as io_open
from setuptools import setup
package_name = 'pyvista'
__version__ = None
filepath = os.path.dirname(__file__)
version_file = os.path.join(filepath, package_name, '_version.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
install_requires = ['numpy',
'imageio',
'pillow',
'appdirs',
'scooby>=0.5.1',
'meshio>=4.0.3, <5.0',
'vtk',
'dataclasses;python_version=="3.6"',
'typing_extensions;python_version<="3.7"',
]
readme_file = os.path.join(filepath, 'README.rst')
setup(
name=package_name,
packages=['pyvista',
'pyvista.examples',
'pyvista.core',
'pyvista.core.filters',
'pyvista.demos',
'pyvista.jupyter',
'pyvista.plotting',
'pyvista.utilities',
'pyvista.ext'],
version=__version__,
description='Easier Pythonic interface to VTK',
long_description=io_open(readme_file, encoding="utf-8").read(),
long_description_content_type='text/x-rst',
author='PyVista Developers',
author_email='[email protected]',
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',
'Programming Language :: Python :: 3.9',
],
url='https://github.com/pyvista/pyvista',
keywords='vtk numpy plotting mesh',
package_data={'pyvista.examples': ['airplane.ply', 'ant.ply', 'channels.vti',
'hexbeam.vtk', 'sphere.ply',
'uniform.vtk', 'rectilinear.vtk',
'globe.vtk', '2k_earth_daymap.jpg'],
},
python_requires='>=3.6.*',
install_requires=install_requires,
extras_require={
'colormaps': ['matplotlib', 'colorcet', 'cmocean']
},
)