mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
3D Scientific Data Visualization and Plotting The Mayavi project includes two related packages for 3-dimensional visualization: Mayavi: A tool for easy and interactive visualization of data, with seamless integration with Python scientific libraries. TVTK: A Traits-based wrapper for the Visualization Toolkit, a popular open-source visualization library. These libraries operate at different levels of abstraction. TVTK manipulates visualization objects, while Mayavi lets you operate on your data, and then see the results. Most users either use the Mayavi user interface or program to its scripting interface; you probably don't need to interact with TVTK unless you want to create a new Mayavi module. WWW: http://code.enthought.com/projects/mayavi/ PR: 204435 Submitted by: Vladimir Chukharev <vladimir.chukharev@gmail.com>
17 lines
638 B
Python
17 lines
638 B
Python
--- setup.py.orig 2016-08-01 19:02:36 UTC
|
|
+++ setup.py
|
|
@@ -403,12 +403,12 @@ def configuration(parent_package=None, t
|
|
config.add_data_dir('mayavi/core/lut')
|
|
config.add_data_dir('mayavi/tests/data')
|
|
config.add_data_dir('mayavi/tests/csv_files')
|
|
- config.add_data_dir('mayavi/tools/static')
|
|
+ config.add_data_dir('mayavi/tools/static/x3d')
|
|
|
|
# Image files.
|
|
for pkgdir in ('mayavi', 'tvtk'):
|
|
for root, dirs, files in os.walk(pkgdir):
|
|
- if split(root)[-1] == 'images':
|
|
+ if (split(root)[-1] == 'images') and files:
|
|
config.add_data_dir(root)
|
|
|
|
# *.ini files.
|